mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
Remove remains of previous player.
Fixes an issue where the spinner/loading from a previous player can show up in a cached page.
This commit is contained in:
parent
ebc767cf09
commit
3766a18c89
1 changed files with 1 additions and 0 deletions
|
@ -255,6 +255,7 @@ export default {
|
|||
this.player = undefined;
|
||||
}
|
||||
if (this.hotkeys) this.hotkeys.unbind();
|
||||
this.$refs.container.querySelectorAll("div").forEach(node => node.remove());
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue