mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Scroll to top of page when loading video
This commit is contained in:
parent
14a3445a19
commit
41011916ad
1 changed files with 2 additions and 0 deletions
|
|
@ -110,6 +110,8 @@ export default {
|
|||
|
||||
// Load in the index to load out video
|
||||
this.activeVideoIndex = newVideoIndex
|
||||
|
||||
window.scroll({ top: 0, behavior: 'smooth' })
|
||||
}
|
||||
},
|
||||
head() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue