add settings page link and regeneration prompt to the side panel
This commit is contained in:
		
							parent
							
								
									a42daaff61
								
							
						
					
					
						commit
						de633e67fb
					
				
					 2 changed files with 4 additions and 2 deletions
				
			
		|  | @ -78,7 +78,7 @@ | ||||||
|     <footer class="fixed-action-btn"> |     <footer class="fixed-action-btn"> | ||||||
|         <button class="btn-floating btn-large" data-icon="plus" accesskey="+" data-action="filters,add,one"></button> |         <button class="btn-floating btn-large" data-icon="plus" accesskey="+" data-action="filters,add,one"></button> | ||||||
|         <ul> |         <ul> | ||||||
|             <li><button data-action="filters,update" class="btn-floating waves-effect" |             <li><button data-action="filters,update" class="btn-floating" | ||||||
|                     title-for="settings_filters_update" data-icon="refresh" accesskey="r"></button></li> |                     title-for="settings_filters_update" data-icon="refresh" accesskey="r"></button></li> | ||||||
|         </ul> |         </ul> | ||||||
|     </footer> |     </footer> | ||||||
|  |  | ||||||
|  | @ -14,7 +14,9 @@ class Page_Popup extends Page { | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	events() { | 	events() { | ||||||
| 
 | 		(document.querySelector(`[data-action="open,settings"]`)) ? document.querySelector(`[data-action="open,settings"]`).addEventListener("click", () => { | ||||||
|  | 			chrome.runtime.openOptionsPage(); | ||||||
|  | 		}) : false; | ||||||
| 	} | 	} | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue