mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-16 22:10:25 +00:00
switched to prop per @eddiemonge
This commit is contained in:
parent
6b767b4b8d
commit
0ffaab8d22
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ $.widget( "mobile.button", $.mobile.widget, {
|
|||
refresh: function() {
|
||||
var $el = this.element;
|
||||
|
||||
if ( $el.attr( "disabled" ) ) {
|
||||
if ( $el.prop("disabled") ) {
|
||||
this.disable();
|
||||
} else {
|
||||
this.enable();
|
||||
|
|
|
|||
Loading…
Reference in a new issue