Permalink
Browse files

switched to prop per @eddiemonge

  • Loading branch information...
1 parent 6b767b4 commit 0ffaab8d223733a3695328630e5e9902f570baa1 @johnbender johnbender committed Oct 31, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/jquery.mobile.forms.button.js
@@ -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();

0 comments on commit 0ffaab8

Please sign in to comment.