fix: surfingkeys settings URL

This commit is contained in:
Maddison Hellstrom 2019-03-23 22:34:48 -07:00
parent 8a0dd69222
commit 73ad035150
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ actions.openLink = (u, { newTab = false } = {}) => () => {
window.open(u, newTab ? "_blank" : "_self")
}
actions.editSettings = actions.openLink("/pages/options.html", { newTab: true })
actions.editSettings = () => tabOpenLink(chrome.extension.getURL("/pages/options.html"))
actions.togglePdfViewer = () => chrome.storage.local.get("noPdfViewer", (resp) => {
if (!resp.noPdfViewer) {