mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	refactoring of note detail API
This commit is contained in:
		@@ -20,6 +20,10 @@ export default class TabCachingWidget extends TabAwareWidget {
 | 
			
		||||
            widget.toggle(false);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if (!this.tabContext) {
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        let widget = this.widgets[this.tabContext.tabId];
 | 
			
		||||
 | 
			
		||||
        if (!widget) {
 | 
			
		||||
@@ -31,8 +35,6 @@ export default class TabCachingWidget extends TabAwareWidget {
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        widget.toggle(true);
 | 
			
		||||
 | 
			
		||||
        return false; // stop propagation to children
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    tabRemovedListener({tabId}) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user