From 66d4e51a185834542cfb36e55c80e3ffbd5a32c4 Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Tue, 29 Sep 2015 01:27:41 +0200 Subject: [PATCH] Use correct method for notification drawer on mobile Refs #500. --- framework/core/js/lib/components/Navigation.js | 2 +- framework/core/less/lib/Navigation.less | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/core/js/lib/components/Navigation.js b/framework/core/js/lib/components/Navigation.js index 2034a175d..7c09a3185 100644 --- a/framework/core/js/lib/components/Navigation.js +++ b/framework/core/js/lib/components/Navigation.js @@ -93,7 +93,7 @@ export default class Navigation extends Component { return Button.component({ className: 'Button Button--icon Navigation-drawer' + - (user && user.unreadNotificationsCount() ? ' unread' : ''), + (user && user.newNotificationsCount() ? ' new' : ''), onclick: e => { e.stopPropagation(); drawer.show(); diff --git a/framework/core/less/lib/Navigation.less b/framework/core/less/lib/Navigation.less index d6522455a..cfef7754b 100755 --- a/framework/core/less/lib/Navigation.less +++ b/framework/core/less/lib/Navigation.less @@ -29,7 +29,7 @@ } } -.Navigation-drawer.unread { +.Navigation-drawer.new { position: relative; &:after {