Skip to content

Commit 2edc1f2

Browse files
committed
stop blockscreen after 3 secs
1 parent 3d99439 commit 2edc1f2

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

manager/media/style/default/js/modx.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,6 +516,10 @@
516516
},
517517
work: function() {
518518
d.getElementById('mainloader').classList.add('show');
519+
520+
setTimeout(function(self) {
521+
self.stopWork();
522+
}, 3000, this);
519523
},
520524
stopWork: function() {
521525
d.getElementById('mainloader').classList.remove('show');

0 commit comments

Comments
 (0)