mirror of
https://github.com/He4eT/browser-milje-2077.git
synced 2026-05-04 17:07:24 +00:00
options: add options page
This commit is contained in:
parent
31fcd6ced2
commit
f41cb32e81
5 changed files with 136 additions and 2 deletions
|
|
@ -8,6 +8,5 @@ document.getElementById('toggleMiljeButton').onclick = () => {
|
|||
}
|
||||
|
||||
document.getElementById('openSettingsButton').onclick = () => {
|
||||
browser.storage.local.set({'params': {scaleFactor: 16}})
|
||||
console.log('openSettingsButton')
|
||||
browser.runtime.openOptionsPage()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue