mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-12-18 08:21:45 +03:00
Fix Notifications link on Home header triggering scroll-to-top
This commit is contained in:
parent
b69d9f3fa8
commit
f41ca129c2
1 changed files with 3 additions and 0 deletions
|
@ -128,6 +128,9 @@ export default ({ hidden }) => {
|
|||
class={`button plain ${
|
||||
snapStates.notificationsNew.length > 0 ? 'has-badge' : ''
|
||||
}`}
|
||||
onClick={(e) => {
|
||||
e.stopPropagation();
|
||||
}}
|
||||
>
|
||||
<Icon icon="notification" size="l" alt="Notifications" />
|
||||
</a>
|
||||
|
|
Loading…
Reference in a new issue