diff --git a/resources/assets/javascripts/bootstrap/forms.js b/resources/assets/javascripts/bootstrap/forms.js
index 27871ccb5a4b9bcfebecc829d2b249fe50b08928..fc133fde245c4a62b782ad8d515da2234d0646d5 100644
--- a/resources/assets/javascripts/bootstrap/forms.js
+++ b/resources/assets/javascripts/bootstrap/forms.js
@@ -107,9 +107,7 @@ $(document)
         // Submit only if value has changed and either enter was pressed or
         // select was opened by click
         if (!is_default && shouldSubmit) {
-            $(this)
-                .closest('form')
-                .submit();
+            $(this.form).submit();
             return false;
         }
     });