diff --git a/app/router.js b/app/router.js index a7f2f74..03f8b35 100644 --- a/app/router.js +++ b/app/router.js @@ -23,6 +23,8 @@ const Router = EmberRouter.extend({ if (this.currentPath === 'list.category.event.subscribe') { scrollToTimeout(subscriptionProcessId); + } else if (this.currentPath !== 'list.category' && screen.width <= 960) { + scrollToTimeout('headerCategory'); } else if (this.currentPath !== 'list.index') { scrollToTimeout(rootElement.id); } diff --git a/app/templates/components/area-navigation.hbs b/app/templates/components/area-navigation.hbs index 6fc2420..b18d117 100644 --- a/app/templates/components/area-navigation.hbs +++ b/app/templates/components/area-navigation.hbs @@ -1,5 +1,5 @@ {{#unless this.hideHeading}} -

{{this.area.name}}

+

{{translate "kursCategoryHeader"}}

{{/unless}}