aboutsummaryrefslogtreecommitdiff
path: root/src/App.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/App.js')
-rw-r--r--src/App.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/App.js b/src/App.js
index 4b0e81d0..2a00b369 100644
--- a/src/App.js
+++ b/src/App.js
@@ -24,6 +24,9 @@ export default {
methods: {
activatePanel (panelName) {
this.mobileActivePanel = panelName
+ },
+ scrollToTop () {
+ window.scrollTo(0, 0)
}
}
}