File tree 2 files changed +1
-6
lines changed
2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -135,15 +135,10 @@ function hideThemeButtonState() {
135
135
136
136
// Set up the theme picker list.
137
137
( function ( ) {
138
- if ( ! document . location . href . startsWith ( "file:///" ) ) {
139
- return ;
140
- }
141
138
var themeChoices = getThemesElement ( ) ;
142
139
var themePicker = getThemePickerElement ( ) ;
143
140
var availableThemes = getVar ( "themes" ) . split ( "," ) ;
144
141
145
- removeClass ( themeChoices . parentElement , "hidden" ) ;
146
-
147
142
function switchThemeButtonState ( ) {
148
143
if ( themeChoices . style . display === "block" ) {
149
144
hideThemeButtonState ( ) ;
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ <h2 class="location"></h2>
108
108
{%- endif -%}
109
109
</ a > {#- -#}
110
110
< nav class ="sub "> {#- -#}
111
- < div class ="theme-picker hidden "> {#- -#}
111
+ < div class ="theme-picker "> {#- -#}
112
112
< button id ="theme-picker " aria-label ="Pick another theme! " aria-haspopup ="menu " title ="themes "> {#- -#}
113
113
< img width ="22 " height ="22 " alt ="Pick another theme! " {# -#}
114
114
src ="{{static_root_path|safe}}brush{{page.resource_suffix}}.svg "> {#- -#}
You can’t perform that action at this time.
0 commit comments