From cf36bf192ccbc6ffd175e4dd397b4a9140b7f28b Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Mon, 9 Oct 2017 21:01:22 +0900 Subject: fix method name --- src/content/actions/operation.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/content/actions') 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: -- cgit v1.2.3