diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-09-25 21:22:28 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-09-25 21:45:03 +0900 |
commit | 4edb0331a1f0e80f754c34ce6686873c13506022 (patch) | |
tree | 22d98476a50995baa2533a1e89b447670b5aa67c /src/content | |
parent | c2a5a41cb6bc7780db580e6325e25b6a81729851 (diff) |
clean operation definitions
Diffstat (limited to 'src/content')
-rw-r--r-- | src/content/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/content/index.js b/src/content/index.js index 80acd2d..812fbc5 100644 --- a/src/content/index.js +++ b/src/content/index.js @@ -85,9 +85,9 @@ const execOperation = (operation) => { return scrolls.scrollTop(window); case operations.SCROLL_BOTTOM: return scrolls.scrollBottom(window); - case operations.SCROLL_LEFT: + case operations.SCROLL_HOME: return scrolls.scrollLeft(window); - case operations.SCROLL_RIGHT: + case operations.SCROLL_END: return scrolls.scrollRight(window); case operations.FOLLOW_START: return startFollows(operation.newTab); |