From ad8695f650b810c843e3dfa09fccbbf6822c914a Mon Sep 17 00:00:00 2001 From: daria <95225431+dariiing@users.noreply.github.com> Date: Wed, 9 Jul 2025 11:52:30 +0300 Subject: [PATCH] simplify code --- customize.dist/index.html | 1 - customize.dist/pages.js | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/customize.dist/index.html b/customize.dist/index.html index 54f3d867a..70a015ce9 100644 --- a/customize.dist/index.html +++ b/customize.dist/index.html @@ -15,7 +15,6 @@ SPDX-License-Identifier: AGPL-3.0-or-later - diff --git a/customize.dist/pages.js b/customize.dist/pages.js index dbce1f0de..07a7d37a1 100644 --- a/customize.dist/pages.js +++ b/customize.dist/pages.js @@ -12,13 +12,14 @@ define([ '/api/config', '/common/extensions.js', 'optional!/api/instance', + '/customize/fonts/lucide.js' ], function (h, Language, Util, AppConfig, Msg, $, ApiConfig, - Extensions, Instance) { + Extensions, Instance, Lucide) { var Pages = {}; Pages.setHTML = function (e, html) { e.innerHTML = html; - setTimeout(() => lucide.createIcons(), 0); + setTimeout(() => Lucide.createIcons(), 0); return e; };