Przeglądaj źródła

can select theme-nature button

YETI\yusuketk 8 lat temu
rodzic
commit
9dab29b201
1 zmienionych plików z 3 dodań i 2 usunięć
  1. 3 2
      lib/views/admin/customize.html

+ 3 - 2
lib/views/admin/customize.html

@@ -66,8 +66,9 @@
               {% include 'widget/theme-colorbox.html' %}
               {% include 'widget/theme-colorbox.html' %}
             </a>
             </a>
             <a id="theme-option-nature"
             <a id="theme-option-nature"
-             class="nature"
-             data-theme="{{ webpack_asset('style-theme-nature').css }}">
+                class="nature {% if 'nature' === settingForm['customize:theme'] %}active{% endif %}"
+                onclick="selectTheme('nature')"
+                data-theme="{{ webpack_asset('style-theme-nature').css }}">
               {% include 'widget/theme-colorbox.html' %}
               {% include 'widget/theme-colorbox.html' %}
             </a>
             </a>
           </div>
           </div>