Merge pull request #51 from openHPI/fix-request-for-comment-click-event
Fix click event for compatibility
This commit is contained in:
@ -115,7 +115,7 @@ do not put a carriage return in the line below. it will be present in the presen
|
|||||||
}
|
}
|
||||||
|
|
||||||
function handleSidebarClick(e) {
|
function handleSidebarClick(e) {
|
||||||
var target = e.domEvent.toElement;
|
var target = e.domEvent.target;
|
||||||
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;
|
||||||
|
Reference in New Issue
Block a user