refactoring

This commit is contained in:
Philipp Kühn
2019-05-04 10:54:53 +02:00
parent a614f0cce1
commit 0a98827b4c
2 changed files with 2 additions and 2 deletions

View File

@@ -51,7 +51,7 @@ export default {
mounted() {
this.socket = io('wss://tiptap-sockets.glitch.me')
.on('init', data => this.onInit(data))
.on('update', data => this.editor.extensions.options.collaboration.onUpdate(data))
.on('update', data => this.editor.extensions.options.collaboration.update(data))
},
beforeDestroy() {