aboutsummaryrefslogtreecommitdiff
path: root/src/content/urls.js
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-12-27 16:34:17 +0900
committerGitHub <noreply@github.com>2018-12-27 16:34:17 +0900
commit1fc44c783aec2f155307b2de484c204cf39cbff1 (patch)
treece13510a788fa24bee29e84ca0397db30930611c /src/content/urls.js
parent9c34b961c68588d95cc942465dae55388e861ffa (diff)
parentd07b94140635bfe5dc53269ebec9f5ee9e133203 (diff)
Merge pull request #511 from ueokande/open-startpage
Open homepage
Diffstat (limited to 'src/content/urls.js')
-rw-r--r--src/content/urls.js2
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,