mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Fix and improved hasher routing
This commit is contained in:
parent
06e2dc722d
commit
fafe56ecb4
16 changed files with 41 additions and 83 deletions
|
|
@ -78,7 +78,7 @@ class AppUser extends AbstractApp {
|
|||
const currentTime = Date.now();
|
||||
if (currentTime > (lastTime + interval + 1000)) {
|
||||
Remote.request('Version',
|
||||
iError => (100 < iError) && this.reload(),
|
||||
iError => (100 < iError) && (Settings.app('inIframe') ? parent : window).location.reload(),
|
||||
{ Version: Settings.app('version') }
|
||||
);
|
||||
}
|
||||
|
|
@ -91,10 +91,6 @@ class AppUser extends AbstractApp {
|
|||
shortcuts.add('escape,enter', '', () => rl.Dropdowns.detectVisibility());
|
||||
}
|
||||
|
||||
reload() {
|
||||
(Settings.app('inIframe') ? parent : window).location.reload();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {number} iDeleteType
|
||||
* @param {string} sFromFolderFullName
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue