diff options
author | Stuart Knightley | 2012-03-22 10:34:32 -0700 |
---|---|---|
committer | Stuart Knightley | 2012-03-22 10:34:32 -0700 |
commit | 4e6662a973a8af583733d484073359cc780851de (patch) | |
tree | bd36495dd5c3b9b77b5f5d03e54169f0503d5b19 /node_modules/montage | |
parent | 0243eed41eddd5bde3a7ce0c6e2ae7313457b19b (diff) | |
download | ninja-4e6662a973a8af583733d484073359cc780851de.tar.gz |
Update Youtube Channel to work in Chrome Beta
Diffstat (limited to 'node_modules/montage')
-rw-r--r-- | node_modules/montage/ui/youtube-channel.reel/youtube-channel.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/node_modules/montage/ui/youtube-channel.reel/youtube-channel.js b/node_modules/montage/ui/youtube-channel.reel/youtube-channel.js index 30920953..5b05f2c5 100644 --- a/node_modules/montage/ui/youtube-channel.reel/youtube-channel.js +++ b/node_modules/montage/ui/youtube-channel.reel/youtube-channel.js | |||
@@ -183,13 +183,13 @@ var YoutubeChannel = exports.YoutubeChannel = Montage.create(Component, { | |||
183 | this.player.height = viewportStyle.height; | 183 | this.player.height = viewportStyle.height; |
184 | 184 | ||
185 | // // Chrome | 185 | // // Chrome |
186 | viewport.insertBefore(this._popupElement, viewport.firstChild); | 186 | // viewport.insertBefore(this._popupElement, viewport.firstChild); |
187 | this._popupElement.style.top = viewport.offsetTop; | 187 | // this._popupElement.style.top = viewport.offsetTop; |
188 | this._popupElement.style.left = viewport.offsetLeft; | 188 | // this._popupElement.style.left = viewport.offsetLeft; |
189 | 189 | ||
190 | // Canary | 190 | // Canary |
191 | // this._popupElement.style.top = - (this._element.offsetTop || 0) + 'px'; | 191 | this._popupElement.style.top = - (this._element.offsetTop || 0) + 'px'; |
192 | // this._popupElement.style.left = - (this._element.offsetLeft || 0) + 'px'; | 192 | this._popupElement.style.left = - (this._element.offsetLeft || 0) + 'px'; |
193 | } | 193 | } |
194 | }, | 194 | }, |
195 | 195 | ||