mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-06-28 23:05:54 +00:00
Bugfix: invalid settingsGet in dev/Stores/Admin/App.js
Cleanup login/logout location reloading
This commit is contained in:
5
dev/bootstrap.js
vendored
5
dev/bootstrap.js
vendored
@@ -34,7 +34,8 @@ export default (App) => {
|
||||
$htmlCL.add(bMobileDevice ? 'mobile' : 'no-mobile');
|
||||
addEventListener('click', ()=>rl.Dropdowns.detectVisibility());
|
||||
|
||||
const rl = window.rl || {};
|
||||
rl.app = App;
|
||||
rl.logoutReload = () => App && App.logoutReload && App.logoutReload();
|
||||
|
||||
rl.i18n = i18n;
|
||||
|
||||
@@ -57,8 +58,6 @@ export default (App) => {
|
||||
dropdownVisibility(!!rl.Dropdowns.find(item => item.classList.contains('open')))
|
||||
).debounce(50);
|
||||
|
||||
window.rl = rl;
|
||||
|
||||
window.__APP_BOOT = fErrorCallback => {
|
||||
const doc = document,
|
||||
cb = () => setTimeout(() => {
|
||||
|
||||
Reference in New Issue
Block a user