forked from leftypol/leftypol
fixes Jquery references on loop
This commit is contained in:
parent
17c7fb3db0
commit
7a86b9f092
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue