aboutsummaryrefslogtreecommitdiff
path: root/content.js
diff options
context:
space:
mode:
Diffstat (limited to 'content.js')
-rw-r--r--content.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/content.js b/content.js
index d87589ac..f2aa49a2 100644
--- a/content.js
+++ b/content.js
@@ -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);