Skip to content
Permalink
Browse files

Preload icons

  • Loading branch information
giterlizzi committed Dec 29, 2019
1 parent 85edb1a commit 929ae073bd75ab13a8d1d0174548fcc8e7801759
Showing with 4 additions and 3 deletions.
  1. +0 −2 js/template.js
  2. +3 −0 script.js
  3. +1 −1 template.info.txt
@@ -777,8 +777,6 @@ jQuery(document).on('bootstrap3:collapse-sections', function(event) {

$sections.addClass('hide');

Iconify.preloadImages(['mdi-chevron-up', 'mdi-chevron-down']);

if (! $headings.find('svg').length) {

$headings
@@ -82,6 +82,9 @@ jQuery(document).ready(function() {
return jQuery(['#screen__mode .visible-', media, '-block'].join('')).is(':visible');
}

// Preload icons
Iconify.preloadImages(['mdi:folder-open', 'mdi:folder', 'mdi:file-document-outline', 'mdi:chevron-up', 'mdi:chevron-down']);

jQuery(window).resize(function() {
jQuery(document).trigger('bootstrap3:mobile-layout');
jQuery(document).trigger('bootstrap3:collapse-sections');
@@ -5,4 +5,4 @@ date 2019-05-22
name Bootstrap3 Template
desc Bootstrap-based template for Dokuwiki
url https://www.dokuwiki.org/template:bootstrap3
build develop/20191227
build develop/20191229

0 comments on commit 929ae07

Please sign in to comment.
You can’t perform that action at this time.