Fixes problem where changes to options.ignorews did not cause update.
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user