Fix error when remembered tab does not exist
Caused by renaming `tab_statistics` to `tab_analysis`.
This commit is contained in:
parent
9500481df0
commit
90697ca38f
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ BR.Sidebar = L.Control.Sidebar.extend({
|
||||||
// not set: closed by default for new users
|
// not set: closed by default for new users
|
||||||
tabId = '';
|
tabId = '';
|
||||||
}
|
}
|
||||||
if (tabId !== '') {
|
if (tabId !== '' && this._getTab(tabId)) {
|
||||||
this.open(tabId);
|
this.open(tabId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue