diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-08-06 15:37:03 +0300 |
---|---|---|
committer | npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com> | 2019-08-06 19:17:00 +0300 |
commit | 287393609db7bb2508f14c40383b507dcd2f6b28 (patch) | |
tree | c827870658f5de969075cb2628f26a567eab4045 /core/src | |
parent | effca30d1057deb56ed181662ffc3549ddca06e5 (diff) |
Fix ie app menu loading click
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/components/MainMenu.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/components/MainMenu.js b/core/src/components/MainMenu.js index 40eca1ecd9d..175438d05c6 100644 --- a/core/src/components/MainMenu.js +++ b/core/src/components/MainMenu.js @@ -76,6 +76,11 @@ export const setUp = () => { if (!$app.is('a')) { $app = $app.closest('a') } + + // trigger redirect + // needed for ie, but also works for every browser + window.location = $app.href + if (event.which === 1 && !event.ctrlKey && !event.metaKey && $app.parent('#more-apps').length === 0) { $app.find('svg').remove() $app.find('div').remove() // prevent odd double-clicks |