diff --git a/public/js/index.js b/public/js/index.js index d51ecb543..f1a101ea2 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -2646,7 +2646,7 @@ editorInstance.on('cut', function () { editorInstance.on('paste', function () { // na }) -editorInstance.on('changes', function (cm, changes) { +editorInstance.on('changes', function (editor, changes) { updateHistory() var docLength = editor.getValue().length // workaround for big documents