diff --git a/framework/core/js/forum/src/components/NotificationsDropdown.js b/framework/core/js/forum/src/components/NotificationsDropdown.js index b75fa4289..d009e7fe8 100644 --- a/framework/core/js/forum/src/components/NotificationsDropdown.js +++ b/framework/core/js/forum/src/components/NotificationsDropdown.js @@ -27,7 +27,7 @@ export default class NotificationsDropdown extends Component { {unread || icon('bell')} {app.trans('core.notifications')} -
+
{this.showing ? NotificationList.component() : ''}
@@ -41,4 +41,10 @@ export default class NotificationsDropdown extends Component { this.showing = true; } } + + menuClick(e) { + // Don't close the notifications dropdown if the user is opening a link in a + // new tab or window. + if (e.shiftKey || e.metaKey || e.ctrlKey || e.which === 2) e.stopPropagation(); + } }