From c809dc18275f6701223254ec21a88c4054392cc6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Tue, 6 Aug 2019 20:02:36 +0200 Subject: [PATCH] Fix ie app menu loading click MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- core/js/js.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/js/js.js b/core/js/js.js index 777efe64d31..c1b93a85e3b 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -1062,6 +1062,11 @@ function initCore() { 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 -- 2.39.5