diff --git a/platform/features/conductor-v2/conductor/res/templates/time-conductor.html b/platform/features/conductor-v2/conductor/res/templates/time-conductor.html index d3c3427a06a..04befb7507e 100644 --- a/platform/features/conductor-v2/conductor/res/templates/time-conductor.html +++ b/platform/features/conductor-v2/conductor/res/templates/time-conductor.html @@ -91,7 +91,7 @@
diff --git a/platform/features/conductor-v2/conductor/src/ui/ConductorTOIController.js b/platform/features/conductor-v2/conductor/src/ui/ConductorTOIController.js index 8eda031081f..654f0837ea8 100644 --- a/platform/features/conductor-v2/conductor/src/ui/ConductorTOIController.js +++ b/platform/features/conductor-v2/conductor/src/ui/ConductorTOIController.js @@ -58,9 +58,15 @@ define( ConductorTOIController.prototype.setOffsetFromBounds = function (bounds) { var toi = this.conductor.timeOfInterest(); - var offset = toi - bounds.start; - var duration = bounds.end - bounds.start; - this.left = offset / duration * 100; + if (toi !== undefined) { + var offset = toi - bounds.start; + var duration = bounds.end - bounds.start; + this.left = offset / duration * 100; + this.pinned = true; + } else { + this.left = 0; + this.pinned = false; + } }; ConductorTOIController.prototype.changeTimeOfInterest = function () { diff --git a/platform/features/plot/res/templates/plot.html b/platform/features/plot/res/templates/plot.html index ff79be2aedb..5ca2721bced 100644 --- a/platform/features/plot/res/templates/plot.html +++ b/platform/features/plot/res/templates/plot.html @@ -80,7 +80,7 @@