Эх сурвалжийг харах

Merge pull request #1716 from sharelatex:bg-fix-merge-conflict

fix incorrect merge conflict

GitOrigin-RevId: 55e19f025a433e8abbde16bd68ccbc3e21f7964f
Brian Gough 7 жил өмнө
parent
commit
1078688895

+ 1 - 1
services/web/public/js/libs/sharejs.js

@@ -1311,7 +1311,7 @@ define(['ace/ace','libs/sha1'], function () {
         // console.log "SENDING OP TO SERVER", @inflightOp, @version
         var lastVersion = this.__lastVersion;
         this.__lastVersion = this.version;
-        return this.connection.send({ doc: this.name, op: this.inflightOp, v: this.version, lastV: lastVersion, hash: this.inflightOp.sha1});
+        return this.connection.send({ doc: this.name, op: this.inflightOp, v: this.version, lastV: lastVersion, hash: sha1});
       }
 
       // Submit an op to the server. The op maybe held for a little while before being sent, as only one