mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-16 22:10:25 +00:00
removing now also the ui-btn-down-x class when button loses focus
This commit is contained in:
parent
86e4e6fb43
commit
3080b2a9c4
1 changed files with 1 additions and 1 deletions
|
|
@ -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 );
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue