mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
render icons on the loading page
This commit is contained in:
parent
bba94cf435
commit
b0e2b5d259
@ -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) {
|
||||
}
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user