From 81edc48d99bb6fa784c9dfcdbfdcbd5ccc60978d Mon Sep 17 00:00:00 2001 From: Ruud Date: Sun, 8 Jan 2012 15:03:11 +0100 Subject: [PATCH] Set proper height of movie element --- couchpotato/core/plugins/movie/static/movie.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/couchpotato/core/plugins/movie/static/movie.js b/couchpotato/core/plugins/movie/static/movie.js index 60b622b4..a3e8b54f 100644 --- a/couchpotato/core/plugins/movie/static/movie.js +++ b/couchpotato/core/plugins/movie/static/movie.js @@ -91,8 +91,10 @@ var Movie = new Class({ afterInject: function(){ var self = this; - var height = self.getHeight(); - self.el.setStyle('height', height); + (function(){ + var height = self.getHeight(); + self.el.setStyle('height', height); + }).delay(1) }, getTitle: function(){