mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
clearing video_id and title when leaving a channel
This commit is contained in:
2
static/dist/embed.min.js
vendored
2
static/dist/embed.min.js
vendored
File diff suppressed because one or more lines are too long
4
static/dist/main.min.js
vendored
4
static/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -422,8 +422,11 @@ function onepage_load(){
|
|||||||
|
|
||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
|
|
||||||
|
video_id = "";
|
||||||
|
song_title = "";
|
||||||
|
|
||||||
$("meta[name=theme-color]").attr("content", "#2D2D2D");
|
$("meta[name=theme-color]").attr("content", "#2D2D2D");
|
||||||
|
|
||||||
Youtube.ytplayer.destroy();
|
Youtube.ytplayer.destroy();
|
||||||
|
|
||||||
$(".drag-target").remove();
|
$(".drag-target").remove();
|
||||||
|
|||||||
Reference in New Issue
Block a user