add filters update event
This commit is contained in:
		
							parent
							
								
									df855c883c
								
							
						
					
					
						commit
						481ef03576
					
				
					 1 changed files with 7 additions and 0 deletions
				
			
		|  | @ -45,6 +45,13 @@ function arrange() { | |||
| 		*/ | ||||
| function events() { | ||||
|   windowman.events(); | ||||
| 
 | ||||
|   document | ||||
|     .querySelector(`[data-action="filters,update"]`) | ||||
|     .addEventListener(`click`, async () => { | ||||
|       let filters = await import(chrome.runtime.getURL(`scripts/filters.js`)); | ||||
|       filters.update(); | ||||
|     }); | ||||
| } | ||||
| 
 | ||||
| function main() { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue