mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 13:56:11 +01:00
fixes
This commit is contained in:
@@ -464,8 +464,8 @@ export default class TabRowWidget extends BasicWidget {
|
||||
return !!this.activeTabEl;
|
||||
}
|
||||
|
||||
activeTabChangedListener({tabId}) {
|
||||
const tabEl = this.getTabById(tabId)[0];
|
||||
activeTabChangedListener({newActiveTabId}) {
|
||||
const tabEl = this.getTabById(newActiveTabId)[0];
|
||||
const activeTabEl = this.activeTabEl;
|
||||
if (activeTabEl === tabEl) return;
|
||||
if (activeTabEl) activeTabEl.removeAttribute('active');
|
||||
|
||||
Reference in New Issue
Block a user