0
0
Fork 0
mirror of https://github.com/VueTubeApp/VueTube synced 2025-01-05 15:11:13 +00:00

fix: error that broke switching between recommendations

This commit is contained in:
Alex 2022-03-26 16:54:34 +13:00
parent 9c7b1d0778
commit 43ff6ac3f4

View file

@ -141,7 +141,7 @@ export default {
handler(newRt, oldRt) {
if (newRt.query.v != oldRt.query.v) {
// Exit fullscreen if currently in fullscreen
this.$refs.player.webkitExitFullscreen();
if (this.$refs.player) this.$refs.player.webkitExitFullscreen();
// Reset player and run getVideo function again
this.vidSrc = "";
this.getVideo();