summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
Diffstat (limited to 'core/js')
-rw-r--r--core/js/js.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/js/js.js b/core/js/js.js
index 31d5b87712c..2b0b6e28915 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -1506,7 +1506,7 @@ function initCore() {
if(!$app.is('a')) {
$app = $app.closest('a');
}
- if(!event.ctrlKey) {
+ if(!event.ctrlKey && !event.metaKey) {
$app.addClass('app-loading');
} else {
// Close navigation when opening app in
@@ -1525,7 +1525,7 @@ function initCore() {
if (!$page.is('a')) {
$page = $page.closest('a');
}
- if(!event.ctrlKey) {
+ if(!event.ctrlKey && !event.metaKey) {
$page.find('img').remove();
$page.find('div').remove(); // prevent odd double-clicks
$page.prepend($('<div/>').addClass('icon-loading-small-dark'));