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:
FireMasterK 2021-07-07 19:40:54 +05:30
parent ebc767cf09
commit 3766a18c89
No known key found for this signature in database
GPG key ID: 49451E4482CC5BCD

View file

@ -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>