Merge pull request #7410 from owncloud/scrutinizer_fix_kondou

Fix scrutinizer issue in settings/js/apps.js
This commit is contained in:
Morris Jobke 2014-02-26 13:50:31 +01:00
commit beff83feb2

View file

@ -248,9 +248,9 @@ $(document).ready(function(){
var item = tgt.is('li') ? $(tgt) : $(tgt).parent(); var item = tgt.is('li') ? $(tgt) : $(tgt).parent();
var app = item.data('app'); var app = item.data('app');
OC.Settings.Apps.loadApp(app); OC.Settings.Apps.loadApp(app);
$('#leftcontent .selected').removeClass('selected');
item.addClass('selected');
} }
$('#leftcontent .selected').removeClass('selected');
item.addClass('selected');
return false; return false;
}); });
$('#rightcontent input.enable').click(function(){ $('#rightcontent input.enable').click(function(){