Minor JS fix

This commit is contained in:
Luka Murn 2017-06-08 15:28:26 +02:00
parent c7c3c46d9d
commit 7bb1af3692

View file

@ -31,9 +31,8 @@ function loadRepositoryTab() {
}); });
// on page load // on page load
if( getParam('repository') ){ if( param = getParam('repository') ){
// load selected tab // load selected tab
var param = getParam('repository');
$('a[href="#custom_repo_'+param+'"]').click(); $('a[href="#custom_repo_'+param+'"]').click();
} }
else { else {