aboutsummaryrefslogtreecommitdiff
path: root/src/content/actions
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-07-28 23:47:26 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2018-07-28 23:47:26 +0900
commit09c5247dbadb468a764eef308634503484d398c5 (patch)
tree0c66e88229b11c9b154772a6a93dbb6def0d6dcf /src/content/actions
parentf914d76ce8fecb74bbddb673595c32000d0fa78f (diff)
Search keywords 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({