render icons on the loading page

This commit is contained in:
daria 2025-08-25 17:01:14 +03:00
parent bba94cf435
commit b0e2b5d259
No known key found for this signature in database
GPG Key ID: 3B75240E6B2F2701

View File

@ -7,8 +7,9 @@
// text #3F4141
define([
'/customize/messages.js',
'/customize/fonts/lucide.js',
'less!/customize/src/less2/include/loading.less'
], function (Messages) {
], function (Messages, Lucide) {
var urlArgs = window.location.href.replace(/^.*\?([^\?]*)$/, function (all, x) { return x; });
var elem = document.createElement('div');
elem.setAttribute('id', 'cp-loading');
@ -100,6 +101,7 @@ define([
if (el2) { el2.innerHTML = makeList(data); }
var el3 = document.querySelector('.cp-loading-progress-container');
if (el3) { el3.innerHTML = makeBar(data); }
Lucide.createIcons();
} catch (e) {
}
};