diff -r e7f27746668e -r 5249bb0cd964 src/js/widgets/sparklineWidget.js --- a/src/js/widgets/sparklineWidget.js Tue Dec 27 10:25:34 2011 +0100 +++ b/src/js/widgets/sparklineWidget.js Tue Dec 27 10:26:02 2011 +0100 @@ -58,8 +58,7 @@ spotColor: "#b70056", width: this.width, height: this.height}); this._Popcorn.listen("timeupdate", IriSP.wrap(this, this.timeUpdateHandler)); - IriSP.jQuery(".Ldt-sparkLineClickOverlay").click(IriSP.wrap(this, this.clickHandler)); - this.spacer.css("height", "2px"); + IriSP.jQuery(".Ldt-sparkLineClickOverlay").click(IriSP.wrap(this, this.clickHandler)); }; /** react to a timeupdate event */ @@ -88,5 +87,7 @@ var duration = this._serializer.currentMedia().meta["dc:duration"] / 1000; var newTime = ((relX / width) * duration).toFixed(2); + + this._Popcorn.trigger("IriSP.SparklineWidget.clicked", newTime); this._Popcorn.currentTime(newTime); }; \ No newline at end of file