aboutsummaryrefslogtreecommitdiff
path: root/src/content/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/index.js')
-rw-r--r--src/content/index.js7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/content/index.js b/src/content/index.js
index 2bbe39c..b233e27 100644
--- a/src/content/index.js
+++ b/src/content/index.js
@@ -42,11 +42,8 @@ const invokeEvent = (action) => {
createFooterLine('open ');
}
break;
- case actions.SCROLL_UP:
- scrolls.scrollUp(window, action[1] || 1);
- break;
- case actions.SCROLL_DOWN:
- scrolls.scrollDown(window, action[1] || 1);
+ case actions.SCROLL_LINES:
+ scrolls.scrollLines(window, action[1]);
break;
case actions.SCROLL_TOP:
scrolls.scrollTop(window, action[1]);