mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 08:56:10 +00:00
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:
@@ -281,7 +281,7 @@ $.fn.ajaxSubmit = function(options) {
|
||||
if ( useProp )
|
||||
el.prop('disabled', false);
|
||||
else
|
||||
el.removeAttr('disabled');
|
||||
el.prop('disabled', false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user