]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix ie app menu loading click 16668/head
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Tue, 6 Aug 2019 18:02:36 +0000 (20:02 +0200)
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Tue, 6 Aug 2019 18:02:54 +0000 (20:02 +0200)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
core/js/js.js

index 777efe64d3114ce602bf36c3891afa57a59fa82d..c1b93a85e3bfb1c5bede0454f9c97bde2c466e48 100644 (file)
@@ -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