revert side panel usage
This commit is contained in:
		
							parent
							
								
									d50999d441
								
							
						
					
					
						commit
						4ff42ead0f
					
				
					 2 changed files with 2 additions and 4 deletions
				
			
		|  | @ -5,11 +5,11 @@ | ||||||
| 	"version": "0", | 	"version": "0", | ||||||
| 
 | 
 | ||||||
| 	"minimum_chrome_version": "114", | 	"minimum_chrome_version": "114", | ||||||
| 	"permissions": [ "tabs", "activeTab", "storage", "unlimitedStorage", "sidePanel", "contextMenus"], | 	"permissions": ["tabs", "storage", "unlimitedStorage", "contextMenus"], | ||||||
| 
 | 
 | ||||||
| 	"action": { | 	"action": { | ||||||
| 		"default_icon": "media/icons/logo_no_tiny.png", | 		"default_icon": "media/icons/logo_no_tiny.png", | ||||||
| 		"default_title": "Click to open panel" | 		"default_popup": "pages/popup.htm" | ||||||
| 	}, | 	}, | ||||||
| 	"side_panel": { | 	"side_panel": { | ||||||
| 		"default_path": "pages/popup.htm" | 		"default_path": "pages/popup.htm" | ||||||
|  |  | ||||||
|  | @ -3,8 +3,6 @@ import EntryManager from "/scripts/GUI/entrypoints/manager.js" | ||||||
| 
 | 
 | ||||||
| export default class user_actions { | export default class user_actions { | ||||||
| 	static init() { | 	static init() { | ||||||
| 		chrome.sidePanel.setPanelBehavior({ openPanelOnActionClick: true }).catch((error) => console.error(error)); |  | ||||||
| 
 |  | ||||||
| 		user_actions.tabs(); | 		user_actions.tabs(); | ||||||
| 	}; | 	}; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue