aboutsummaryrefslogtreecommitdiff
path: root/src/content/actions
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-07-29 00:04:24 +0900
committerGitHub <noreply@github.com>2018-07-29 00:04:24 +0900
commitaf90ef59566210fa8715816d639ae1025f2aa2fb (patch)
tree0c66e88229b11c9b154772a6a93dbb6def0d6dcf /src/content/actions
parented2bd7d75ee1e7aa1db7d03c3f908c740ded1983 (diff)
parent09c5247dbadb468a764eef308634503484d398c5 (diff)
Merge pull request #441 from ueokande/search-on-paste
Search on paste
Diffstat (limited to 'src/content/actions')
-rw-r--r--src/content/actions/operation.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/content/actions/operation.js b/src/content/actions/operation.js
index c1bd1c8..89d7fec 100644
--- a/src/content/actions/operation.js
+++ b/src/content/actions/operation.js
@@ -83,7 +83,9 @@ const exec = (operation, repeat, settings, addonEnabled) => {
consoleFrames.postInfo(window.document, 'Current url yanked');
break;
case operations.URLS_PASTE:
- urls.paste(window, operation.newTab ? operation.newTab : false);
+ urls.paste(
+ window, operation.newTab ? operation.newTab : false, settings.search
+ );
break;
default:
browser.runtime.sendMessage({