diff --git a/src/client/components/sidebar.vue b/src/client/components/sidebar.vue index 3ddef7d127..975dccb04d 100644 --- a/src/client/components/sidebar.vue +++ b/src/client/components/sidebar.vue @@ -92,6 +92,10 @@ export default Vue.extend({ this.showing = true; }, + top() { + window.scroll({ top: 0, behavior: 'smooth' }); + }, + search() { if (this.searching) return;