aboutsummaryrefslogtreecommitdiff
path: root/src/content/actions/operation.js
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-10-09 21:01:22 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2017-10-09 21:01:22 +0900
commitcf36bf192ccbc6ffd175e4dd397b4a9140b7f28b (patch)
treeaaba38ee6a4a7443a5b60b189444f4e02d4c248f /src/content/actions/operation.js
parent8c84930ca3ca673ca2b6afa8973b2de5f0dc9cb3 (diff)
fix method name
Diffstat (limited to 'src/content/actions/operation.js')
-rw-r--r--src/content/actions/operation.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/content/actions/operation.js b/src/content/actions/operation.js
index 1302404..9187514 100644
--- a/src/content/actions/operation.js
+++ b/src/content/actions/operation.js
@@ -19,9 +19,9 @@ const exec = (operation) => {
case operations.SCROLL_BOTTOM:
return scrolls.scrollBottom(window);
case operations.SCROLL_HOME:
- return scrolls.scrollLeft(window);
+ return scrolls.scrollHome(window);
case operations.SCROLL_END:
- return scrolls.scrollRight(window);
+ return scrolls.scrollEnd(window);
case operations.FOLLOW_START:
return followActions.enable(false);
case operations.NAVIGATE_HISTORY_PREV: