From b3dbe8a030ff1b293deee6415fb8db46a3c2cba7 Mon Sep 17 00:00:00 2001 From: LearningNerd Date: Wed, 28 Jun 2017 10:23:12 -0700 Subject: [PATCH] Fix search-and-replace mistake --- public/local.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);