@checksub_team/peaks_timeline 1.13.4 → 1.13.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/peaks.js +2 -2
- package/src/source.js +1 -1
- package/src/timeline-sources.js +1 -1
package/package.json
CHANGED
package/peaks.js
CHANGED
|
@@ -19256,7 +19256,7 @@ module.exports = function (Utils) {
|
|
|
19256
19256
|
validateSource(peaks, opts, 'add()');
|
|
19257
19257
|
this._peaks = peaks;
|
|
19258
19258
|
this._id = id;
|
|
19259
|
-
this._originId = originId;
|
|
19259
|
+
this._originId = originId || id;
|
|
19260
19260
|
this._elementId = elementId;
|
|
19261
19261
|
this._title = opts.title;
|
|
19262
19262
|
this._url = opts.url;
|
|
@@ -20649,7 +20649,7 @@ module.exports = function (Source, Utils) {
|
|
|
20649
20649
|
});
|
|
20650
20650
|
var newSource = this._add([{
|
|
20651
20651
|
id: Utils.createUuidv4(),
|
|
20652
|
-
originId: sourceToCut.
|
|
20652
|
+
originId: sourceToCut.originId,
|
|
20653
20653
|
elementId: sourceToCut.elementId,
|
|
20654
20654
|
title: sourceToCut.title,
|
|
20655
20655
|
url: sourceToCut.url,
|
package/src/source.js
CHANGED
package/src/timeline-sources.js
CHANGED