mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-29 19:51:01 +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
|
||||
if( getParam('repository') ){
|
||||
if( param = getParam('repository') ){
|
||||
// load selected tab
|
||||
var param = getParam('repository');
|
||||
$('a[href="#custom_repo_'+param+'"]').click();
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue