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
|
@ -14,7 +14,9 @@ class Page_Popup extends Page {
|
|||
}
|
||||
|
||||
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