summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2015-10-05 09:54:42 -0700
committerCorey Hulen <corey@hulen.com>2015-10-05 09:54:42 -0700
commitbdf052002210d17e5925966ffd36d34739d4a5b3 (patch)
tree4905571c17b541d2d89f97b70a2fa094ceb491cc /web
parent462def640c772ceb8365741b09f6cf667049bac7 (diff)
parentafe0d004fe48e4d2c7492d6c0918a34f30c2ce13 (diff)
downloadchat-bdf052002210d17e5925966ffd36d34739d4a5b3.tar.gz
chat-bdf052002210d17e5925966ffd36d34739d4a5b3.tar.bz2
chat-bdf052002210d17e5925966ffd36d34739d4a5b3.zip
Merge pull request #923 from mattermost/fix-load-scroll
Fix missed binding for youtube data callback.
Diffstat (limited to 'web')
-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)
});
}