diff options
author | JoramWilander <jwawilander@gmail.com> | 2015-10-05 11:52:06 -0400 |
---|---|---|
committer | JoramWilander <jwawilander@gmail.com> | 2015-10-05 11:52:06 -0400 |
commit | afe0d004fe48e4d2c7492d6c0918a34f30c2ce13 (patch) | |
tree | 67ef3e48f90a6d5ad43badcf645a9bcb73677322 /web | |
parent | 44ceedc2ad2ea193cedb71865931dcdc1624ed2b (diff) | |
download | chat-afe0d004fe48e4d2c7492d6c0918a34f30c2ce13.tar.gz chat-afe0d004fe48e4d2c7492d6c0918a34f30c2ce13.tar.bz2 chat-afe0d004fe48e4d2c7492d6c0918a34f30c2ce13.zip |
Fix missed binding for youtube data callback.
Diffstat (limited to 'web')
-rw-r--r-- | web/react/components/post_body.jsx | 2 |
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) }); } |