clear notifications notifications/inbox onclick
When i look on this forum ; if you get a notification for notification or inbox there appears a red area with the number in it. When clicking on the inbox or notification, the red section disappears. On my own forum i also styled the notification with red background but it does'n disappear when clicking on it. Only after refreshing the page.
I found a difference in the code:
The difference: onthis forum
class="MeButton FlyoutButton js-clear-notifications" title="Notifications".....
On my forum:
class="MeButton FlyoutButton" title="notifications"....
So the class js-clear-notifications doesn't exist on my forum.