Browse Source

Use getSize not getCoordinates

pull/66/head
Ruud 14 years ago
parent
commit
25fe5b344e
  1. 4
      couchpotato/core/plugins/movie/static/movie.js

4
couchpotato/core/plugins/movie/static/movie.js

@ -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;
},

Loading…
Cancel
Save