mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-01 13:13:22 +08:00
Minor JS fix
This commit is contained in:
parent
c7c3c46d9d
commit
7bb1af3692
1 changed files with 1 additions and 2 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue