aboutsummaryrefslogtreecommitdiffstats
path: root/youtubeamp.js
diff options
context:
space:
mode:
authoranekos2008-10-07 17:17:41 +0000
committeranekos2008-10-07 17:17:41 +0000
commit301ff2ff87e337d3f3d71db7795dbc33c0dcf1f3 (patch)
treeaf30c5d7343febc79a8818672fec0954f3305be8 /youtubeamp.js
parente2e6f5157a4825f1b6f636f61a7de8e04584b768 (diff)
downloadvimperator-plugins-301ff2ff87e337d3f3d71db7795dbc33c0dcf1f3.tar.bz2
fixed player(full) size
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@20937 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'youtubeamp.js')
-rw-r--r--youtubeamp.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtubeamp.js b/youtubeamp.js
index df38ca8..77da365 100644
--- a/youtubeamp.js
+++ b/youtubeamp.js
@@ -136,8 +136,8 @@ YouTubePlayerController.prototype = {
_changeToFull: function () {
var p = this._player();
setTimeout(function () {
- p.width = window.innerWidth;
- p.height = liberator.buffer.pageHeight;
+ p.width = content.innerWidth;
+ p.height = content.innerHeight;
}, 0);
},