diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-10-22 20:23:03 -0400 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-10-22 20:23:03 -0400 |
commit | 7a3315d75d91e37f69cf23faa0e5b189ad548e52 (patch) | |
tree | 290ebea705885f662bf54aaed6c5ca9215f5fbb4 /ext/bg/js/context.js | |
parent | d32fd1381b6cd5141a21c22f9ef639b2fe9774fb (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.js | 4 |
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 = { |