diff -r 8da49ff273e0 -r 4ae2247a59f4 src/js/widgets/polemicWidget.js --- a/src/js/widgets/polemicWidget.js Tue Apr 03 20:30:12 2012 +0200 +++ b/src/js/widgets/polemicWidget.js Fri Apr 06 16:49:32 2012 +0200 @@ -51,7 +51,7 @@ var lineSize = this.width; // timeline pixel width var nbrframes = lineSize/frameSize; // frame numbers var numberOfTweet = 0; // number of tweet overide later - var duration = this._serializer.getDuration(); // timescale width + var duration = this.getDuration(); // timescale width var frameLength = lineSize / frameSize; // frame timescale var timeline; var colors = new Array("","#1D973D","#036AAE","#CE0A15","#C5A62D","#585858"); @@ -385,7 +385,7 @@ IriSP.PolemicWidget.prototype.sliderUpdater = function() { var time = +this._Popcorn.currentTime(); - var duration = this._serializer.getDuration(); + var duration = this.getDuration(); this.paperSlider.attr("width", time * (this.width / (duration / 1000)));