diff options
author | Alex Yatskov <alex@foosoft.net> | 2016-03-19 19:05:51 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2016-03-19 19:05:51 -0700 |
commit | 826bf963119ce70e1498505c2b930716af7a249d (patch) | |
tree | 5f946f35cce71733529fc754f89153eb004a1c29 /content.js | |
parent | 0eeacbf5c84878d6cdb69f8d889d03ae56d60a48 (diff) | |
parent | 81ded4fb78cf32a3d85882708e2f651608100815 (diff) |
Merge branch 'master' of https://github.com/FooSoft/yomichan-chrome
Diffstat (limited to 'content.js')
-rw-r--r-- | content.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -35,6 +35,7 @@ function getRangeAtCursor(e, lookAhead) { return range; } + function onMouseDown(e) { const range = getRangeAtCursor(e, 20); if (range === null) { @@ -51,4 +52,4 @@ function onMouseDown(e) { } -window.addEventListener('mousedown', onMouseDown, false); +window.addEventListener('mousemove', onMouseMove, false); |