0
0
Fork 0
mirror of https://github.com/VueTubeApp/VueTube synced 2024-11-23 03:35:15 +00:00

scroll back to top after clicking on a video

This commit is contained in:
Ethan 2022-03-22 00:49:11 -05:00
parent 64956ea4ec
commit 6a98cf4f4a

View file

@ -119,6 +119,9 @@ export default {
};
},
mounted() {
// scroll back to top after clicking on the video
window.scroll(0, 0);
this.likes = 100;
this.$youtube.getVid(this.$route.query.v).then((result) => {