aboutsummaryrefslogtreecommitdiff
path: root/src/App.js
diff options
context:
space:
mode:
authorlambadalambda <gitgud@rogerbraun.net>2017-02-18 16:00:06 -0500
committerlambadalambda <gitgud@rogerbraun.net>2017-02-18 16:00:06 -0500
commit6dbdd322aa02c5e4d834decbd394864d36e4e6e6 (patch)
tree68f2dca44b2c1e121c8b18820c90929657e40b25 /src/App.js
parentb5d7a179c4a07abc79e7f0c26fb7f6ca19c4d7d3 (diff)
parent7b6719b96d23fd07552fec7bd7716c3d634d9aff (diff)
Merge branch 'feature/top_bar_scrolls_to_top' into 'develop'
Feature/top bar scrolls to top See merge request !19
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)
}
}
}