mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Merge pull request #923 from mattermost/fix-load-scroll
Fix missed binding for youtube data callback.
This commit is contained in:
@@ -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)
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user