mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Stopping soundcloud player when navigating to frontpage from channel
This commit is contained in:
@@ -637,6 +637,9 @@ var Channel = {
|
|||||||
try{
|
try{
|
||||||
Player.player.destroy();
|
Player.player.destroy();
|
||||||
} catch(error){}
|
} catch(error){}
|
||||||
|
try {
|
||||||
|
Player.soundcloud_player.kill();
|
||||||
|
} catch(error){}
|
||||||
Player.player = "";
|
Player.player = "";
|
||||||
document.title = "Zoff";
|
document.title = "Zoff";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user