mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 04:29:21 +03:00
Revamp Mobile/Desktop switcher without completely reloading.
Remove switcher from login page, it became useless.
This commit is contained in:
parent
292f3289ac
commit
d7994ddab6
35 changed files with 159 additions and 202 deletions
4
dev/bootstrap.js
vendored
4
dev/bootstrap.js
vendored
|
|
@ -1,4 +1,4 @@
|
|||
import { doc, dropdownVisibility } from 'Common/Globals';
|
||||
import { doc, elementById, dropdownVisibility } from 'Common/Globals';
|
||||
import { StorageResultType } from 'Common/Enums';
|
||||
import { i18n } from 'Common/Translator';
|
||||
|
||||
|
|
@ -136,7 +136,7 @@ export default (App) => {
|
|||
window.__APP_BOOT = fErrorCallback => {
|
||||
const cb = () => setTimeout(() => {
|
||||
if (rl.TEMPLATES) {
|
||||
doc.getElementById('rl-templates').innerHTML = rl.TEMPLATES;
|
||||
elementById('rl-templates').innerHTML = rl.TEMPLATES;
|
||||
setTimeout(() => App.bootstart(), 10);
|
||||
} else {
|
||||
fErrorCallback();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue