mirror of
https://github.com/h3poteto/whalebird-desktop
synced 2025-02-06 20:33:33 +01:00
refs #197 Reset scroll position in favourite
This commit is contained in:
parent
5f6b096b9d
commit
9d07f07f27
@ -49,6 +49,7 @@ export default {
|
||||
this.$store.commit('TimelineSpace/Contents/Favourites/updateFavourites', [])
|
||||
if (document.getElementById('scrollable') !== undefined && document.getElementById('scrollable') !== null) {
|
||||
document.getElementById('scrollable').removeEventListener('scroll', this.onScroll)
|
||||
document.getElementById('scrollable').scrollTop = 0
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user