refs #197 Reset scroll position in favourite

This commit is contained in:
AkiraFukushima 2018-04-21 15:55:19 +09:00
parent 5f6b096b9d
commit 9d07f07f27
1 changed files with 1 additions and 0 deletions

View File

@ -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: {