diff --git a/public/local.js b/public/local.js index cc62007..a07abdd 100644 --- a/public/local.js +++ b/public/local.js @@ -106,7 +106,7 @@ editor.getSession().setMode('ace/mode/javascript'); Send: (sent after creating or forking) -------------------------------------------------------------- */ editor.getSession().on('change', handleLocalEditorTextChange); -editor.getSession().selection.on('editorCursorChange', handleLocalEditorCursorChange); +editor.getSession().selection.on('changeCursor', handleLocalEditorCursorChange); editor.getSession().on('changeScrollLeft', handleLocalEditorScrollChange); editor.getSession().on('changeScrollTop', handleLocalEditorScrollChange);