aboutsummaryrefslogtreecommitdiff
path: root/src/App.js
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2017-02-20 18:58:18 +0100
committerRoger Braun <roger@rogerbraun.net>2017-02-20 18:58:18 +0100
commit5d8b2eb8b57efa36f9bde45fbbffc2e19f675eb4 (patch)
treef7883fdbe27a2cfd81ff72437450976cc243d2f2 /src/App.js
parent9d0d1f7de1e37cb40d7ecd34fd93744f55142e2b (diff)
parent73afa8e075cd8e97b09526e2393b0aafc9c8e4e5 (diff)
Merge branch 'develop' into feature/hash-routed
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)
}
}
}