We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bd1fc6 commit b17f471Copy full SHA for b17f471
lib/codemirror.js
@@ -275,7 +275,8 @@ var CodeMirror = (function() {
275
} else { lastClick = now; }
276
277
var last = start, going;
278
- if (dragAndDrop && !posLess(start, sel.from) && !posLess(sel.to, start)) {
+ if (dragAndDrop && !posEq(sel.from, sel.to) &&
279
+ !posLess(start, sel.from) && !posLess(sel.to, start)) {
280
// Let the drag handler handle this.
281
return;
282
}
0 commit comments