diff --git a/js/youtube.js b/js/youtube.js index 1bbe8fce..5537b931 100644 --- a/js/youtube.js +++ b/js/youtube.js @@ -22,7 +22,7 @@ * */ -onready(function() { +onReady(function() { let do_embed_yt = function(tag) { $('div.video-container a', tag).click(function() { let videoID = $(this.parentNode).data('video');