add option to force light icons

This commit is contained in:
Simon Vieille
2020-05-09 14:30:24 +02:00
parent 4b06b633b8
commit 7864e16ef3
6 changed files with 36 additions and 7 deletions
+4
View File
@@ -5,6 +5,10 @@
var body = $('body')
var isTouchDevice = window.matchMedia("(pointer: coarse)").matches
<?php if ($_['force-light-icon']): ?>
sideMenuContainer.attr('data-forcelighticon', '1')
<?php endif; ?>
body.on('side-menu.apps', function(e, apps) {
<?php if ($_['hide-when-no-apps']): ?>
sideMenu = $('#side-menu')