form.js: Don't ignore autosubmit elements

A while ago this already has changed so that autosubmit
responses are guaranteed to be applied. Thus this
exception is now obsolete.

fixes #4942
This commit is contained in:
Johannes Meyer 2022-11-09 09:03:21 +01:00
parent 3187a4e549
commit 8cd892359d
1 changed files with 0 additions and 1 deletions

View File

@ -81,7 +81,6 @@
if ($container.has(origFocus).length
&& $(origFocus).length
&& ! $(origFocus).hasClass('autofocus')
&& ! $(origFocus).hasClass('autosubmit')
&& $(origFocus).closest('form').length
&& $(origFocus).not(':input[type=button], :input[type=submit], :input[type=reset]').length
) {