forked from leftypol/leftypol
Fixes remove embed
This commit is contained in:
parent
816094ce96
commit
6b21692146
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ onready(function(){
|
||||||
'?autoplay=1&html5=1" allowfullscreen frameborder="0"/>')
|
'?autoplay=1&html5=1" allowfullscreen frameborder="0"/>')
|
||||||
span.click(function() {
|
span.click(function() {
|
||||||
if (span.text() == ON){
|
if (span.text() == ON){
|
||||||
videoNode.remove("iframe");
|
embedNode.remove();
|
||||||
span.text(OFF);
|
span.text(OFF);
|
||||||
} else{
|
} else{
|
||||||
videoNode.append(embedNode);
|
videoNode.append(embedNode);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue