Просмотр исходного кода

can select theme-nature button

YETI\yusuketk 8 лет назад
Родитель
Сommit
9dab29b201
1 измененных файлов с 3 добавлено и 2 удалено
  1. 3 2
      lib/views/admin/customize.html

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

@@ -66,8 +66,9 @@
               {% include 'widget/theme-colorbox.html' %}
             </a>
             <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' %}
             </a>
           </div>