Commit 25368124 authored by Michael Lange's avatar Michael Lange
Browse files

Scroll to the top of the page on transition. Like a normal website.

parent eeeb544a
No related merge requests found
Showing with 7 additions and 1 deletion
+7 -1
......@@ -2,4 +2,10 @@ import Ember from 'ember';
const { Route } = Ember;
export default Route.extend({});
export default Route.extend({
actions: {
didTransition() {
window.scrollTo(0, 0);
},
},
});
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment