|
@ -217,7 +217,7 @@ CustomTime.prototype._onDrag = function (event) { |
|
|
this.body.emitter.emit('timechange', { |
|
|
this.body.emitter.emit('timechange', { |
|
|
id: this.options.id, |
|
|
id: this.options.id, |
|
|
time: new Date(this.customTime.valueOf()), |
|
|
time: new Date(this.customTime.valueOf()), |
|
|
event: util.elementsCensor(event) |
|
|
|
|
|
|
|
|
event: event |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
event.stopPropagation(); |
|
|
event.stopPropagation(); |
|
@ -235,7 +235,7 @@ CustomTime.prototype._onDragEnd = function (event) { |
|
|
this.body.emitter.emit('timechanged', { |
|
|
this.body.emitter.emit('timechanged', { |
|
|
id: this.options.id, |
|
|
id: this.options.id, |
|
|
time: new Date(this.customTime.valueOf()), |
|
|
time: new Date(this.customTime.valueOf()), |
|
|
event: util.elementsCensor(event) |
|
|
|
|
|
|
|
|
event: event |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
event.stopPropagation(); |
|
|
event.stopPropagation(); |
|
|