By default, the side bar should only open at the current tab.
This commit is contained in:
		
							parent
							
								
									4af1cc8e15
								
							
						
					
					
						commit
						bd7d7a86b2
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -15,7 +15,7 @@ export default class Sidebar { | ||||||
| 		 | 		 | ||||||
| 		// Grab the current tab ID. 
 | 		// Grab the current tab ID. 
 | ||||||
| 		Tabs.query({ active: true, currentWindow: true }, 0).then((TAB) => { | 		Tabs.query({ active: true, currentWindow: true }, 0).then((TAB) => { | ||||||
| 			chrome.sidePanel.open({windowId: TAB.id}); | 			chrome.sidePanel.open({"tabId": TAB.id}); | ||||||
| 			this.root = ((typeof PATH).includes(`str`)) ? PATH : chrome.sidePanel.getOptions(TAB.id).path; | 			this.root = ((typeof PATH).includes(`str`)) ? PATH : chrome.sidePanel.getOptions(TAB.id).path; | ||||||
| 		}); | 		}); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue