snappymail/dev/boot.js
djmaze aae7883b99 Bugfix: bootstrap jQuery('#') syntax error
Changed: use ES2015
Changed: gulp uglify to terser
Removed: ChangePassword
Removed: nanoscroll
Removed: JS polyfills
2020-03-13 15:30:39 +01:00

22 lines
527 B
JavaScript

import window from 'window';
import { progressJs } from '../vendors/Progress.js/src/progress.js';
window.progressJs = window.progressJs || progressJs();
window.progressJs.onbeforeend(() => {
const _$ = window.$;
if (_$) {
try {
_$('.progressjs-container').hide();
window.setTimeout(() => {
_$('.progressjs-container').remove();
}, 200); // eslint-disable-line no-magic-numbers
} catch (e) {} // eslint-disable-line no-empty
}
});
require('Common/Booter');
if (window.__runBoot) {
window.__runBoot();
}