diff --git a/js/jquery.mobile.forms.select.custom.js b/js/jquery.mobile.forms.select.custom.js index b895c99e..cd8ada09 100644 --- a/js/jquery.mobile.forms.select.custom.js +++ b/js/jquery.mobile.forms.select.custom.js @@ -30,7 +30,9 @@ "aria-labelledby": buttonId }).attr( "data-" + $.mobile.ns + "theme", widget.options.theme ).appendTo( listbox ), - header = $( "
" ).attr( "data-" + $.mobile.ns + "theme", widget.options.theme ).prependTo( listbox ), + header = $( "
", { + "class": "ui-header ui-bar-" + widget.options.theme + }).prependTo( listbox ), headerTitle = $( "

", { "class": "ui-title"