diff --git a/lib/client/presence/remote-doc-presence.js b/lib/client/presence/remote-doc-presence.js index 0f3b7f74..6c3e938d 100644 --- a/lib/client/presence/remote-doc-presence.js +++ b/lib/client/presence/remote-doc-presence.js @@ -76,12 +76,12 @@ RemoteDocPresence.prototype._handleOp = function(op, source, connectionId) { this._setPendingPresence(); }; -RemotePresence.prototype._handleCreateDel = function() { +RemoteDocPresence.prototype._handleCreateDel = function() { this._cacheOp(null); this._setPendingPresence(); }; -RemotePresence.prototype._handleLoad = function() { +RemoteDocPresence.prototype._handleLoad = function() { this.value = null; this._pending = null; this._opCache = null;