Update focus argument with cm instance
This commit is contained in:
parent
d7c068cbfd
commit
579dda9515
1 changed files with 1 additions and 1 deletions
|
@ -2690,7 +2690,7 @@ editorInstance.on('changes', function (cm, changes) {
|
|||
}
|
||||
}
|
||||
})
|
||||
editorInstance.on('focus', function (cm) {
|
||||
editorInstance.on('focus', function (editor) {
|
||||
for (var i = 0; i < window.onlineUsers.length; i++) {
|
||||
if (window.onlineUsers[i].id === window.personalInfo.id) {
|
||||
window.onlineUsers[i].cursor = editor.getCursor()
|
||||
|
|
Loading…
Reference in a new issue