jQuery: Remove broken use of "removeAttr".

This function no longer sets properties to false, so the supported
way of doing this is to instead use prop(foo, false). Some tests
had to be fixed to accommodate this.
This commit is contained in:
Cory Lynch
2017-06-29 18:57:46 -04:00
committed by Tim Abbott
parent 02c6672499
commit d32e89aae4
11 changed files with 36 additions and 36 deletions

View File

@@ -281,7 +281,7 @@ $.fn.ajaxSubmit = function(options) {
if ( useProp )
el.prop('disabled', false);
else
el.removeAttr('disabled');
el.prop('disabled', false);
}
}