Use getSize not getCoordinates

This commit is contained in:
Ruud committed 2012-01-08 17:53:59 +01:00
1 parent d52271dc57
commit 25fe5b344e
1 file changed
+2 -2
@@ -94,7 +94,7 @@ var Movie = new Class({
(function(){ (function(){
var height = self.getHeight(); var height = self.getHeight();
self.el.setStyle('height', height); self.el.setStyle('height', height);
}).delay(1) }).delay(10)
}, },
getTitle: function(){ getTitle: function(){
@@ -137,7 +137,7 @@ var Movie = new Class({
var self = this; var self = this;
if(!self.height) if(!self.height)
self.height = self.data_container.getCoordinates().height; self.height = self.data_container.getSize().y;
return self.height; return self.height;
}, },