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{
|
||||
Player.player.destroy();
|
||||
} catch(error){}
|
||||
try {
|
||||
Player.soundcloud_player.kill();
|
||||
} catch(error){}
|
||||
Player.player = "";
|
||||
document.title = "Zoff";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user