From 25fe5b344e70337c062e83b5bbf5dce8cc4941c2 Mon Sep 17 00:00:00 2001 From: Ruud Date: Sun, 8 Jan 2012 17:53:59 +0100 Subject: [PATCH] Use getSize not getCoordinates --- couchpotato/core/plugins/movie/static/movie.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/couchpotato/core/plugins/movie/static/movie.js b/couchpotato/core/plugins/movie/static/movie.js index a3e8b54f..d57670a8 100644 --- a/couchpotato/core/plugins/movie/static/movie.js +++ b/couchpotato/core/plugins/movie/static/movie.js @@ -48,7 +48,7 @@ var Movie = new Class({ // Add profile if(self.profile.data) self.profile.getTypes().each(function(type){ - + var q = self.addQuality(type.quality_id || type.get('quality_id')); if(type.finish || type.get('finish')) q.addClass('finish'); @@ -61,7 +61,7 @@ var Movie = new Class({ var q = self.quality.getElement('.q_'+ release.quality.identifier); if(!q) var q = self.addQuality(release.quality_id) - + q.addClass(release.status.identifier); }); @@ -94,7 +94,7 @@ var Movie = new Class({ (function(){ var height = self.getHeight(); self.el.setStyle('height', height); - }).delay(1) + }).delay(10) }, getTitle: function(){ @@ -137,7 +137,7 @@ var Movie = new Class({ var self = this; if(!self.height) - self.height = self.data_container.getCoordinates().height; + self.height = self.data_container.getSize().y; return self.height; },