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>
This commit is contained in:
John Molakvoæ (skjnldsv) 2019-08-06 14:37:03 +02:00 committed by npmbuildbot[bot]
parent effca30d10
commit 287393609d
3 changed files with 7 additions and 2 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -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