From 4bba8939400b1950cb092bbd3c629e6af3ec6106 Mon Sep 17 00:00:00 2001 From: Ghislain Seguin Date: Wed, 9 Nov 2011 16:37:11 -0800 Subject: [PATCH] Fixed custom select dialog header styling --- js/jquery.mobile.forms.select.custom.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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"