Skip to content

Commit 98fdc83

Browse files
committed
Fix opening apps with Ctrl+click
Signed-off-by: Julius Härtl <jus@bitgrid.net>
1 parent 1b8ae61 commit 98fdc83

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/js/js.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1063,9 +1063,6 @@ function initCore() {
10631063
$app = $app.closest('a');
10641064
}
10651065

1066-
// trigger redirect
1067-
// needed for ie, but also works for every browser
1068-
window.location = $app.href
10691066

10701067
if(event.which === 1 && !event.ctrlKey && !event.metaKey && $app.parent('#more-apps').length === 0) {
10711068
$app.find('svg').remove();
@@ -1075,6 +1072,9 @@ function initCore() {
10751072
? 'icon-loading-small'
10761073
: 'icon-loading-small-dark'
10771074
));
1075+
// trigger redirect
1076+
// needed for ie, but also works for every browser
1077+
window.location = $app.href
10781078
} else {
10791079
// Close navigation when opening app in
10801080
// a new tab

0 commit comments

Comments
 (0)