Add failure callback for comments

このコミットが含まれているのは:
Omar Roth 2018-07-20 14:50:55 -05:00
コミット fff0a25c17
1個のファイルの変更3行の追加0行の削除

ファイルの表示

@ -49,6 +49,7 @@ var options = {
],
},
};
var player = videojs('player', options, function() {
this.hotkeys({
volumeStep: 0.1,
@ -157,6 +158,8 @@ fetch("/comments/<%= video.id %>?source=reddit")
permalink: jsonResponse.permalink,
content_html: jsonResponse.content_html
})
}, function(response){
comments.innerHTML = "";
});
String.prototype.supplant = function (o) {