aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/backend.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-10-22 20:23:03 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-10-22 20:23:03 -0400
commit7a3315d75d91e37f69cf23faa0e5b189ad548e52 (patch)
tree290ebea705885f662bf54aaed6c5ca9215f5fbb4 /ext/bg/js/backend.js
parentd32fd1381b6cd5141a21c22f9ef639b2fe9774fb (diff)
Use chrome.runtime.getURL instead of chrome.extension.getURL
Diffstat (limited to 'ext/bg/js/backend.js')
-rw-r--r--ext/bg/js/backend.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/backend.js b/ext/bg/js/backend.js
index f29230a2..23d876f6 100644
--- a/ext/bg/js/backend.js
+++ b/ext/bg/js/backend.js
@@ -45,7 +45,7 @@ class Backend {
const options = this.getOptionsSync(this.optionsContext);
if (options.general.showGuide) {
- chrome.tabs.create({url: chrome.extension.getURL('/bg/guide.html')});
+ chrome.tabs.create({url: chrome.runtime.getURL('/bg/guide.html')});
}
this.isPreparedResolve();