diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-12-09 10:19:08 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-12-09 10:19:08 +0900 |
commit | 1f89464e4285936bdd509e2607aa70e93d5383a4 (patch) | |
tree | d431b1671f5d59a5869445bd165140203ad4c8e4 /src/content | |
parent | b735317c60f24c9f60f007ac3503b37b7905e07b (diff) |
Add gh/gH to open home page
Diffstat (limited to 'src/content')
-rw-r--r-- | src/content/urls.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/urls.js b/src/content/urls.js index 1c5b7e5..6e7ea31 100644 --- a/src/content/urls.js +++ b/src/content/urls.js @@ -26,7 +26,7 @@ const paste = (win, newTab, searchSettings) => { if (win.document.execCommand('paste')) { let value = textarea.textContent; - let url = urls.normalizeUrl(value, searchSettings); + let url = urls.searchUrl(value, searchSettings); browser.runtime.sendMessage({ type: messages.OPEN_URL, url, |