diff --git a/lib/mergely.js b/lib/mergely.js index 021cb30..773026d 100644 --- a/lib/mergely.js +++ b/lib/mergely.js @@ -495,7 +495,7 @@ jQuery.extend(Mgly.CodeMirrorDiffView.prototype, { if (opts) { jQuery.extend(this.settings, opts); if (opts.autoresize) this.resize(); - if (opts.autoupdate) this.update(); + if (opts.autoupdate || opts.ignorews) this.update(); if (opts.hasOwnProperty('rhs_margin')) { // dynamically swap the margin if (opts.rhs_margin == 'left') {