equal
deleted
inserted
replaced
127 } |
127 } |
128 }; |
128 }; |
129 |
129 |
130 IriSP.SegmentsWidget.prototype.clickHandler = function(annotation) { |
130 IriSP.SegmentsWidget.prototype.clickHandler = function(annotation) { |
131 var begin = (+ annotation.begin) / 1000; |
131 var begin = (+ annotation.begin) / 1000; |
132 this._Popcorn.currentTime(Math.floor(begin)); |
132 this._Popcorn.currentTime(Math.round(begin)); |
133 }; |
133 }; |
134 |
134 |
135 IriSP.SegmentsWidget.prototype.searchHandler = function(searchString) { |
135 IriSP.SegmentsWidget.prototype.searchHandler = function(searchString) { |
136 |
136 |
137 if (searchString == "") |
137 if (searchString == "") |