diff options
author | Alex Yatskov <alex@foosoft.net> | 2016-03-19 19:32:35 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2016-03-19 19:32:35 -0700 |
commit | 8f24c5ff6a3bcbb4b5e1bbe129c2365691554827 (patch) | |
tree | 602221dfd48db2931860c7d09e58c552540448b0 /content.js | |
parent | 826bf963119ce70e1498505c2b930716af7a249d (diff) |
Tests
Diffstat (limited to 'content.js')
-rw-r--r-- | content.js | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -16,7 +16,6 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ - function getRangeAtCursor(e, lookAhead) { const range = document.caretRangeFromPoint(e.clientX, e.clientY); if (range === null) { @@ -52,4 +51,4 @@ function onMouseDown(e) { } -window.addEventListener('mousemove', onMouseMove, false); +window.addEventListener('mousedown', onMouseDown, false); |