switched to prop per @eddiemonge

This commit is contained in:
John Bender 2011-10-31 11:44:56 -07:00
parent 6b767b4b8d
commit 0ffaab8d22

View file

@ -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();