Skip to content

Commit 65351b7

Browse files
committed
don't assume button information is still present in mousemove event
1 parent 65507c5 commit 65351b7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/codemirror.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,6 @@ var CodeMirror = (function() {
221221
var move = connect(document, "mousemove", operation(function(e) {
222222
clearTimeout(going);
223223
e.stop();
224-
if (!e.button()) {end(); return;}
225224
extend(e);
226225
}), true);
227226
var up = connect(document, "mouseup", operation(function(e) {

0 commit comments

Comments
 (0)