mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-05 13:14:45 +00:00
Merge pull request #2894 from MauriceG/patch-3
Fix for #2893: Buttons keep ui-btn-down-x class if leaved with mouse button pressed
This commit is contained in:
commit
1b2f1d8e40
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