Remove constraints for click event
This commit is contained in:
@ -112,8 +112,9 @@ do not put a carriage return in the line below. it will be present in the presen
|
|||||||
var editor = e.editor;
|
var editor = e.editor;
|
||||||
|
|
||||||
if (target.className.indexOf("ace_gutter-cell") == -1) return;
|
if (target.className.indexOf("ace_gutter-cell") == -1) return;
|
||||||
if (!editor.isFocused()) return;
|
//if (!editor.isFocused()) return;
|
||||||
if (e.clientX > 25 + target.getBoundingClientRect().left) return;
|
//if (e.clientX > 25 + target.getBoundingClientRect().left) return;
|
||||||
|
|
||||||
|
|
||||||
var row = e.getDocumentPosition().row;
|
var row = e.getDocumentPosition().row;
|
||||||
e.stop();
|
e.stop();
|
||||||
|
Reference in New Issue
Block a user