mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-17 06:20:26 +00:00
wrapped if condition order
This commit is contained in:
parent
91ee3fbfca
commit
cfceeced2e
1 changed files with 1 additions and 1 deletions
|
|
@ -350,7 +350,7 @@ $.widget( "mobile.selectmenu", $.mobile.widget, {
|
|||
return options.index( this );
|
||||
}).get();
|
||||
|
||||
if( !self.options.nativeMenu && forceRebuild || select[0].options.length > self.list.find('li').length ){
|
||||
if( !self.options.nativeMenu && ( forceRebuild || select[0].options.length > self.list.find('li').length )){
|
||||
self._buildList();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue