From 2c1130f76d4d82bc0193672b745c76b2ad629dbb Mon Sep 17 00:00:00 2001 From: nonmakina Date: Fri, 29 Jan 2021 21:39:00 -0600 Subject: [PATCH] fixes Jquery references on loop --- js/youtube.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/youtube.js b/js/youtube.js index cd1b0fa9..62541bf7 100644 --- a/js/youtube.js +++ b/js/youtube.js @@ -28,6 +28,7 @@ onready(function(){ const OFF = "[Embed]"; function addEmbedButton(index, videoNode) { + videoNode = $(videoNode); var videoId = videoNode.data('video'); var span = $("[Embed]"); var embedNode = $('