mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-29 02:14:44 +00:00
Merge remote branch 'origin/master'
This commit is contained in:
commit
35b174fa31
1 changed files with 2 additions and 3 deletions
|
|
@ -545,7 +545,7 @@ $.widget( "mobile.selectmenu", $.mobile.widget, {
|
|||
// 30px tolerance off the edges
|
||||
if ( newleft < 30 ) {
|
||||
newleft = 30;
|
||||
} else if ( (newleft + menuWidth) > screenWidth ) {
|
||||
} else if ( ( newleft + menuWidth ) > screenWidth ) {
|
||||
newleft = screenWidth - menuWidth - 30;
|
||||
}
|
||||
}
|
||||
|
|
@ -591,8 +591,7 @@ $.widget( "mobile.selectmenu", $.mobile.widget, {
|
|||
// where the objects don't define data urls which prevents dialog key
|
||||
// stripping - changePage has incoming refactor
|
||||
window.history.back();
|
||||
}
|
||||
else{
|
||||
} else{
|
||||
self.screen.addClass( "ui-screen-hidden" );
|
||||
self.listbox.addClass( "ui-selectmenu-hidden" ).removeAttr( "style" ).removeClass( "in" );
|
||||
self._focusButton();
|
||||
|
|
|
|||
Loading…
Reference in a new issue