Scroll to top of page when loading video

This commit is contained in:
Sam Carlton 2020-12-11 01:35:38 -06:00
parent 14a3445a19
commit 41011916ad

View file

@ -110,6 +110,8 @@ export default {
// Load in the index to load out video
this.activeVideoIndex = newVideoIndex
window.scroll({ top: 0, behavior: 'smooth' })
}
},
head() {