diff options
author | Stuart Knightley | 2012-03-20 09:32:21 -0700 |
---|---|---|
committer | Stuart Knightley | 2012-03-20 09:32:21 -0700 |
commit | ab7c54f28151e5ae485881ec53ba22718ff4b449 (patch) | |
tree | 62da645244062f37d70b9cc945ff41bf0086ea4c /node_modules/montage/ui/youtube-channel.reel/youtube-channel.js | |
parent | 4de5574b6cd4ab4335867960f1f974a9a89778c7 (diff) | |
download | ninja-ab7c54f28151e5ae485881ec53ba22718ff4b449.tar.gz |
Change Youtube channel transition to avoid rendering bug
Diffstat (limited to 'node_modules/montage/ui/youtube-channel.reel/youtube-channel.js')
-rw-r--r-- | node_modules/montage/ui/youtube-channel.reel/youtube-channel.js | 4 |
1 files changed, 2 insertions, 2 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 3d9f7f2f..ccbd9978 100644 --- a/node_modules/montage/ui/youtube-channel.reel/youtube-channel.js +++ b/node_modules/montage/ui/youtube-channel.reel/youtube-channel.js | |||
@@ -133,7 +133,7 @@ var YoutubeChannel = exports.YoutubeChannel = Montage.create(Component, { | |||
133 | } | 133 | } |
134 | 134 | ||
135 | if (this._shouldShowPopup) { | 135 | if (this._shouldShowPopup) { |
136 | this._popupElement.classList.add("show"); | 136 | this._element.classList.add("show"); |
137 | if (window.Touch) { | 137 | if (window.Touch) { |
138 | document.addEventListener('touchstart', this, false); | 138 | document.addEventListener('touchstart', this, false); |
139 | } else { | 139 | } else { |
@@ -141,7 +141,7 @@ var YoutubeChannel = exports.YoutubeChannel = Montage.create(Component, { | |||
141 | document.addEventListener('keyup', this, false); | 141 | document.addEventListener('keyup', this, false); |
142 | } | 142 | } |
143 | } else { | 143 | } else { |
144 | this._popupElement.classList.remove("show"); | 144 | this._element.classList.remove("show"); |
145 | this.player.stop(); | 145 | this.player.stop(); |
146 | 146 | ||
147 | if (window.Touch) { | 147 | if (window.Touch) { |