mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +03:00
Allow themes in mobile mode
Cleanup themes and drop the template.less
This commit is contained in:
parent
4f1fc5f44b
commit
48424e213b
34 changed files with 722 additions and 741 deletions
|
|
@ -4,7 +4,6 @@
|
|||
const
|
||||
doc = document,
|
||||
eId = id => doc.getElementById(id),
|
||||
htmlCL = doc.documentElement.classList,
|
||||
app = eId('rl-app'),
|
||||
options = app && app.dataset.boot && JSON.parse(app.dataset.boot) || {},
|
||||
|
||||
|
|
@ -171,8 +170,6 @@ Storage('local');
|
|||
// init section
|
||||
setInterval(setTimestamp, 60000); // 1m
|
||||
|
||||
htmlCL.add(options.mobileDevice ? 'mobile' : 'no-mobile');
|
||||
|
||||
[eId('app-css'),eId('app-theme-link')].forEach(css => css.href = css.dataset.href);
|
||||
|
||||
loadScript('./?/'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue