src/js/widgets/segmentsWidget.js
branchno-popcorn
changeset 392 ef4e6b0fec17
parent 380 4b74494bd129
child 418 06d2aa32c5f4
--- a/src/js/widgets/segmentsWidget.js	Fri Dec 02 12:11:23 2011 +0100
+++ b/src/js/widgets/segmentsWidget.js	Fri Dec 02 15:41:39 2011 +0100
@@ -129,7 +129,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) {