This commit is contained in:
Heerko 2021-07-15 16:53:17 +02:00
commit a13ac7c7a5

View file

@ -52,7 +52,11 @@ export default {
.replace(/\.|%[0-9a-z]{2}/gi, '') .replace(/\.|%[0-9a-z]{2}/gi, '')
)}, )},
goTo(id) { goTo(id) {
document.querySelector(`.${this.currentStream} ${id}`).scrollIntoView() document
.querySelector(`.${this.currentStream} ${id}`)
.scrollIntoView({
behavior: 'smooth'
})
} }
}, },
}; };