Skip to content

Commit 579dda9

Browse files
committed
Update focus argument with cm instance
1 parent d7c068c commit 579dda9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

public/js/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2690,7 +2690,7 @@ editorInstance.on('changes', function (cm, changes) {
26902690
}
26912691
}
26922692
})
2693-
editorInstance.on('focus', function (cm) {
2693+
editorInstance.on('focus', function (editor) {
26942694
for (var i = 0; i < window.onlineUsers.length; i++) {
26952695
if (window.onlineUsers[i].id === window.personalInfo.id) {
26962696
window.onlineUsers[i].cursor = editor.getCursor()

0 commit comments

Comments
 (0)