mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 04:29:21 +03:00
Cleanup theme switcher
This commit is contained in:
parent
0f14e235b4
commit
4250dcf3f0
3 changed files with 20 additions and 35 deletions
|
|
@ -6,7 +6,6 @@ const
|
|||
doc = document,
|
||||
eId = id => doc.getElementById('rl-'+id),
|
||||
app = eId('app'),
|
||||
css = eId('css'),
|
||||
admin = app && '1' == app.dataset.admin,
|
||||
|
||||
cb = () => rl.app.bootstart(),
|
||||
|
|
@ -70,8 +69,6 @@ win.rl = {
|
|||
}
|
||||
};
|
||||
|
||||
css.href = css.dataset.href;
|
||||
|
||||
loadScript(`./?/${admin ? 'Admin' : ''}AppData/0/${Math.random().toString().slice(2)}/`)
|
||||
.then(() => 0);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue