summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--public/js/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/index.js b/public/js/index.js
index d51ecb54..f1a101ea 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