mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Cleanup JS and better terser compression
This commit is contained in:
parent
058217de02
commit
ba7ed497b2
20 changed files with 247 additions and 298 deletions
4
dev/bootstrap.js
vendored
4
dev/bootstrap.js
vendored
|
|
@ -124,8 +124,8 @@ export default (App) => {
|
|||
window.__APP_BOOT = fErrorCallback => {
|
||||
const doc = document,
|
||||
cb = () => setTimeout(() => {
|
||||
if (window.rainloopTEMPLATES && rainloopTEMPLATES[0]) {
|
||||
doc.getElementById('rl-templates').innerHTML = rainloopTEMPLATES[0];
|
||||
if (rl.TEMPLATES) {
|
||||
doc.getElementById('rl-templates').innerHTML = rl.TEMPLATES;
|
||||
setTimeout(() => App.bootstart(), 10);
|
||||
} else {
|
||||
fErrorCallback();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue