aboutsummaryrefslogtreecommitdiff
path: root/src/content/actions/find.js
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-11-09 21:05:02 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2017-11-11 16:16:01 +0900
commite021504356016dc4cdb89356cae542c31486fe6a (patch)
tree9aca1822091301cff833632011e37d2a9f87fd1b /src/content/actions/find.js
parent956dd937d33d167440d9d637f67ebff5d72353e5 (diff)
first find implementation
Diffstat (limited to 'src/content/actions/find.js')
-rw-r--r--src/content/actions/find.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/content/actions/find.js b/src/content/actions/find.js
index 90c9de9..2d301fb 100644
--- a/src/content/actions/find.js
+++ b/src/content/actions/find.js
@@ -1,6 +1,6 @@
//
// window.find(aString, aCaseSensitive, aBackwards, aWrapAround,
-// aWholeWord, aSearchInFrames, aShowDialog);
+// aWholeWord, aSearchInFrames);
//
// NOTE: window.find is not standard API
// https://developer.mozilla.org/en-US/docs/Web/API/Window/find
@@ -17,7 +17,7 @@ const hide = () => {
const next = (keyword) => {
// TODO Error on no matched
- window.find(keyword, false, false, true, false, true, false);
+ window.find(keyword, false, false, true, false, true);
return {
type: actions.FIND_SET_KEYWORD,
keyword,
@@ -26,7 +26,7 @@ const next = (keyword) => {
const prev = (keyword) => {
// TODO Error on no matched
- window.find(keyword, false, true, true, false, true, false);
+ window.find(keyword, false, true, true, false, true);
return {
type: actions.FIND_SET_KEYWORD,
keyword,