summaryrefslogtreecommitdiffstats
path: root/web/react/components/post_body.jsx
diff options
context:
space:
mode:
authorJoramWilander <jwawilander@gmail.com>2015-10-05 11:52:06 -0400
committerJoramWilander <jwawilander@gmail.com>2015-10-05 11:52:06 -0400
commitafe0d004fe48e4d2c7492d6c0918a34f30c2ce13 (patch)
tree67ef3e48f90a6d5ad43badcf645a9bcb73677322 /web/react/components/post_body.jsx
parent44ceedc2ad2ea193cedb71865931dcdc1624ed2b (diff)
downloadchat-afe0d004fe48e4d2c7492d6c0918a34f30c2ce13.tar.gz
chat-afe0d004fe48e4d2c7492d6c0918a34f30c2ce13.tar.bz2
chat-afe0d004fe48e4d2c7492d6c0918a34f30c2ce13.zip
Fix missed binding for youtube data callback.
Diffstat (limited to 'web/react/components/post_body.jsx')
-rw-r--r--web/react/components/post_body.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/post_body.jsx b/web/react/components/post_body.jsx
index 48b268700..6cfd243de 100644
--- a/web/react/components/post_body.jsx
+++ b/web/react/components/post_body.jsx
@@ -125,7 +125,7 @@ export default class PostBody extends React.Component {
url: 'https://www.googleapis.com/youtube/v3/videos',
type: 'GET',
data: {part: 'snippet', id: youtubeId, key: global.window.config.GoogleDeveloperKey},
- success
+ success: success.bind(this)
});
}