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

This commit is contained in:
Maurice Gottlieb 2011-11-01 14:34:53 +01:00
parent 86e4e6fb43
commit 3080b2a9c4

View file

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