diff --git a/js/widgets/forms/select.custom.js b/js/widgets/forms/select.custom.js index adb2dc1a985..c9b40dad27c 100644 --- a/js/widgets/forms/select.custom.js +++ b/js/widgets/forms/select.custom.js @@ -162,7 +162,10 @@ $.widget( "mobile.selectmenu", $.mobile.selectmenu, { ""+ "
"+ "" ); - listbox = $( "" ).insertAfter( this.select ).popup({ theme: o.overlayTheme }); + listbox = $( "" ) + .insertAfter( this.select ) + .popup(); list = $( " " ).appendTo( listbox ); header = $( "" ).prependTo( listbox ); headerTitle = $( "" ).appendTo( header ); diff --git a/tests/unit/select/index.html b/tests/unit/select/index.html index 0d7b2db7640..47901c725c6 100644 --- a/tests/unit/select/index.html +++ b/tests/unit/select/index.html @@ -34,8 +34,8 @@