Permalink
Browse files

removing now also the ui-btn-down-x class when button loses focus

  • Loading branch information...
1 parent 86e4e6f commit 3080b2a9c4fd7d39bd504c257ac97f2e1e7a9ef4 @MauriceG MauriceG committed Nov 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/jquery.mobile.buttonMarkup.js
@@ -165,7 +165,7 @@ var attachEvents = function() {
if ( btn ) {
$btn = $( btn );
theme = $btn.attr( "data-" + $.mobile.ns + "theme" );
- $btn.removeClass( "ui-btn-hover-" + theme ).addClass( "ui-btn-up-" + theme );
+ $btn.removeClass( "ui-btn-hover-" + theme + " ui-btn-down-" + theme ).addClass( "ui-btn-up-" + theme );
}
}
});

0 comments on commit 3080b2a

Please sign in to comment.