From: John Molakvoæ (skjnldsv) Date: Tue, 6 Aug 2019 18:02:36 +0000 (+0200) Subject: Fix ie app menu loading click X-Git-Tag: v16.0.4RC1~5^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F16668%2Fhead;p=nextcloud-server.git Fix ie app menu loading click Signed-off-by: John Molakvoæ (skjnldsv) --- 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