# HG changeset patch # User veltr # Date 1360337908 -3600 # Node ID 566b590aaf8fdfaa5f64dc9e584b26ddd40ae823 # Parent 2b036bd80f6db72954e0dd27ca52f68ae524b33b height bugfix diff -r 2b036bd80f6d -r 566b590aaf8f src/js/widgets.js --- a/src/js/widgets.js Tue Jan 29 15:38:41 2013 +0100 +++ b/src/js/widgets.js Fri Feb 08 16:38:28 2013 +0100 @@ -39,6 +39,12 @@ if (typeof this.width === "undefined") { this.width = this.$.width(); + } else { + this.$.css("width", this.width); + } + + if (typeof this.height !== "undefined") { + this.$.css("height", this.height); } /* Setting this.player at the end in case it's been overriden