mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-11 00:14:50 +03:00
Remove rl-anim feature and use no-mobile
This commit is contained in:
parent
1e0586f124
commit
d5665463fe
4 changed files with 8 additions and 25 deletions
16
dev/bootstrap.js
vendored
16
dev/bootstrap.js
vendored
|
|
@ -59,21 +59,17 @@ export default (App) => {
|
|||
|
||||
window.rl = rl;
|
||||
|
||||
const start = () => {
|
||||
setTimeout(() => {
|
||||
$htmlCL.remove('no-js', 'rl-booted-trigger');
|
||||
$htmlCL.add('rl-booted');
|
||||
|
||||
App.bootstart();
|
||||
}, 10);
|
||||
};
|
||||
|
||||
window.__APP_BOOT = fErrorCallback => {
|
||||
jQuery(() => {
|
||||
setTimeout(() => {
|
||||
if (window.rainloopTEMPLATES && rainloopTEMPLATES[0]) {
|
||||
document.getElementById('rl-templates').innerHTML = rainloopTEMPLATES[0];
|
||||
start();
|
||||
setTimeout(() => {
|
||||
$htmlCL.remove('no-js', 'rl-booted-trigger');
|
||||
$htmlCL.add('rl-booted');
|
||||
|
||||
App.bootstart();
|
||||
}, 10);
|
||||
} else {
|
||||
fErrorCallback();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue