From 593adab2583cb70ebccf6e687073c6f4a55baf9e Mon Sep 17 00:00:00 2001 From: kondou Date: Wed, 26 Feb 2014 11:41:32 +0100 Subject: Fix scrutinizer issue in settings/js/apps.js --- settings/js/apps.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'settings/js/apps.js') 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(){ -- cgit v1.2.3