summaryrefslogtreecommitdiff
path: root/ext/bg/js/context.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/context.js
parentd32fd1381b6cd5141a21c22f9ef639b2fe9774fb (diff)
Use chrome.runtime.getURL instead of chrome.extension.getURL
Diffstat (limited to 'ext/bg/js/context.js')
-rw-r--r--ext/bg/js/context.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/context.js b/ext/bg/js/context.js
index 8e1dbce6..3fb27f0d 100644
--- a/ext/bg/js/context.js
+++ b/ext/bg/js/context.js
@@ -55,8 +55,8 @@ $(document).ready(utilAsync(() => {
const manifest = chrome.runtime.getManifest();
- setupButtonEvents('.action-open-search', 'search', chrome.extension.getURL('/bg/search.html'));
- setupButtonEvents('.action-open-options', 'options', chrome.extension.getURL(manifest.options_ui.page));
+ setupButtonEvents('.action-open-search', 'search', chrome.runtime.getURL('/bg/search.html'));
+ setupButtonEvents('.action-open-options', 'options', chrome.runtime.getURL(manifest.options_ui.page));
setupButtonEvents('.action-open-help', 'help');
const optionsContext = {