diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-12-27 16:34:17 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-27 16:34:17 +0900 |
commit | 1fc44c783aec2f155307b2de484c204cf39cbff1 (patch) | |
tree | ce13510a788fa24bee29e84ca0397db30930611c /src/content/urls.js | |
parent | 9c34b961c68588d95cc942465dae55388e861ffa (diff) | |
parent | d07b94140635bfe5dc53269ebec9f5ee9e133203 (diff) |
Merge pull request #511 from ueokande/open-startpage
Open homepage
Diffstat (limited to 'src/content/urls.js')
-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, |