Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit bb592ad

Browse files
committed
Select: Add optgroup theming for non-native select #2
1 parent 438004b commit bb592ad

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

js/widgets/forms/select.custom.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,10 @@ define( [
4646
"id": menuId,
4747
"role": "listbox",
4848
"aria-labelledby": buttonId
49-
}).attr( "data-" + $.mobile.ns + "theme", widget.options.theme ).appendTo( listbox ),
49+
}).attr( "data-" + $.mobile.ns + "theme", widget.options.theme )
50+
.attr( "data-" + $.mobile.ns + "divider-theme", widget.options.dividerTheme )
51+
.appendTo( listbox ),
52+
5053

5154
header = $( "<div>", {
5255
"class": "ui-header ui-bar-" + widget.options.theme

0 commit comments

Comments
 (0)