Update mergely.js

This commit is contained in:
ControlBoy38
2021-04-28 23:02:36 +02:00
committed by GitHub
parent 3830cff687
commit 3f78453640

View File

@@ -606,6 +606,9 @@ jQuery.extend(Mgly.CodeMirrorDiffView.prototype, {
if (side == 'lhs' && !this.lhs_cmsettings.readOnly) le.setValue(re.getValue());
else if (!this.rhs_cmsettings.readOnly) re.setValue(le.getValue());
},
getDiffNumber: function() {
return this.changes.length;
},
get: function(side) {
var ed = this.editor[this.id + '-' + side];
var t = ed.getValue();