diff -r 62da43e72e30 -r be17a396d68b src/js/widgets/playerWidget.js --- a/src/js/widgets/playerWidget.js Thu Oct 20 15:59:28 2011 +0200 +++ b/src/js/widgets/playerWidget.js Fri Oct 21 11:19:42 2011 +0200 @@ -1,5 +1,7 @@ -IriSP.PlayerWidget.prototype = new IriSP.Widget; - +IriSP.PlayerWidget = function(Popcorn, config, Serializer) { + IriSP.Widget.call(this, Popcorn, config, Serializer); + +}; IriSP.PlayerWidget.prototype.draw = function() { var _this = this; var width = this._config.gui.width;