mirror of
https://github.com/wickedest/Mergely.git
synced 2026-03-24 09:48:39 +08:00
This commit is contained in:
@@ -449,7 +449,6 @@ CodeMirrorDiffView.prototype.bind = function(container) {
|
||||
ev.preventDefault();
|
||||
return;
|
||||
}
|
||||
const ed = this.editor[side];
|
||||
// See if the user clicked the line number of a difference:
|
||||
let found = false;
|
||||
for (let i = 0; i < this.changes.length; ++i) {
|
||||
|
||||
@@ -122,13 +122,11 @@ class Mergely {
|
||||
const colors = dom.getColors(this.el);
|
||||
this._options = {
|
||||
...defaultOptions,//lgpl
|
||||
...this._initOptions,
|
||||
...(this._options || this._initOptions),
|
||||
...options//lgpl-separate-notice
|
||||
};
|
||||
this._viewOptions = {
|
||||
...defaultOptions,
|
||||
...this._initOptions,
|
||||
...options,
|
||||
...this._options,
|
||||
_colors: colors
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user