src/js/widgets/segmentsWidget.js
branchpopcorn-port
changeset 418 06d2aa32c5f4
parent 398 d1883378b822
parent 392 ef4e6b0fec17
child 464 dd543fb9d38a
--- a/src/js/widgets/segmentsWidget.js	Wed Dec 07 11:09:24 2011 +0100
+++ b/src/js/widgets/segmentsWidget.js	Wed Dec 07 12:07:12 2011 +0100
@@ -123,7 +123,7 @@
 
 IriSP.SegmentsWidget.prototype.clickHandler = function(annotation) {
   var begin = (+ annotation.begin) / 1000;
-  this._Popcorn.currentTime(Math.floor(begin));
+  this._Popcorn.currentTime(Math.round(begin));
 };
 
 IriSP.SegmentsWidget.prototype.searchHandler = function(searchString) {