aboutsummaryrefslogtreecommitdiffstats
path: root/settings/js
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2014-02-26 11:41:32 +0100
committerkondou <kondou@ts.unde.re>2014-02-26 11:41:32 +0100
commit593adab2583cb70ebccf6e687073c6f4a55baf9e (patch)
treef29e40bff97fad35f71c66059b2ce38d57405dfa /settings/js
parent37a2f8c6cbccce616ff44badba8a03cafbba9764 (diff)
downloadnextcloud-server-593adab2583cb70ebccf6e687073c6f4a55baf9e.tar.gz
nextcloud-server-593adab2583cb70ebccf6e687073c6f4a55baf9e.zip
Fix scrutinizer issue in settings/js/apps.js
Diffstat (limited to 'settings/js')
-rw-r--r--settings/js/apps.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js
index 7c71453e105..b6bd9ee7205 100644
--- a/settings/js/apps.js
+++ b/settings/js/apps.js
@@ -248,9 +248,9 @@ $(document).ready(function(){
var item = tgt.is('li') ? $(tgt) : $(tgt).parent();
var app = item.data('app');
OC.Settings.Apps.loadApp(app);
+ $('#leftcontent .selected').removeClass('selected');
+ item.addClass('selected');
}
- $('#leftcontent .selected').removeClass('selected');
- item.addClass('selected');
return false;
});
$('#rightcontent input.enable').click(function(){