aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/ui/youtube-channel.reel/youtube-channel.js
diff options
context:
space:
mode:
authorValerio Virgillito2012-03-20 14:22:36 -0700
committerValerio Virgillito2012-03-20 14:22:36 -0700
commit4396c712153afff531bc702dc4c56e0a14ebe31e (patch)
treeb67dbfddaa262d8e66aaab93a9022055f8e02be5 /node_modules/montage/ui/youtube-channel.reel/youtube-channel.js
parentefde3eab7a31070427142fa03f17985163a8d33b (diff)
parent803286628560fd79a57028c65c42c7f19a89c746 (diff)
downloadninja-4396c712153afff531bc702dc4c56e0a14ebe31e.tar.gz
Merge branch 'master' of github.com:francoisfrisch/ninja-internal into montage-integration
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.js4
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) {