Browse Source

fixes Jquery references on loop

pull/40/head
nonmakina 3 years ago
parent
commit
2c1130f76d
  1. 1
      js/youtube.js

1
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 = $("<span>[Embed]</span>");
var embedNode = $('<iframe style="float:left;margin: 10px 20px" type="text/html" '+

Loading…
Cancel
Save