mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-04 20:54:46 +00:00
fixed error in selectmenu close function
This commit is contained in:
parent
bffd9a991b
commit
7a37d2507d
1 changed files with 4 additions and 1 deletions
|
|
@ -246,7 +246,10 @@ $.widget( "mobile.selectmenu", $.mobile.widget, {
|
|||
var self = this;
|
||||
|
||||
function focusButton(){
|
||||
setTimeout(self.button.focus, 40);
|
||||
setTimeout(function(){
|
||||
self.button.focus();
|
||||
}, 40);
|
||||
|
||||
self.listbox.removeAttr('style').append( self.list );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue