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:
parent
9c7b1d0778
commit
43ff6ac3f4
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue