summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2014-07-07 11:49:14 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2014-07-07 11:49:14 +0200
commitb271e05bc9066157a7af62062ad2d47e73dd54b7 (patch)
treedda54559da72c6b543bfa8520881d8050bd5d18f
parenta26370e585a13f70022a0d706e5bdbc061dadae2 (diff)
parentae8e27cc42bdb89ca8c0fd5806372e8b0915af4f (diff)
downloadnextcloud-server-b271e05bc9066157a7af62062ad2d47e73dd54b7.tar.gz
nextcloud-server-b271e05bc9066157a7af62062ad2d47e73dd54b7.zip
Merge pull request #9488 from owncloud/fix-ctrl-click-app
fix loading spinner on ctrl click a app entry- fixes #9063
-rw-r--r--core/js/js.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/js/js.js b/core/js/js.js
index 544b26647a9..72b65f41a16 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -1138,7 +1138,9 @@ function initCore() {
if(!$app.is('a')) {
$app = $app.closest('a');
}
- $app.addClass('app-loading');
+ if(!event.ctrlKey) {
+ $app.addClass('app-loading');
+ }
});
}