diff --git a/app/assets/javascripts/discourse/controllers/background-notifications.js.es6 b/app/assets/javascripts/discourse/controllers/background-notifications.js.es6 index 9bd1955a491..5a90a9cd4eb 100644 --- a/app/assets/javascripts/discourse/controllers/background-notifications.js.es6 +++ b/app/assets/javascripts/discourse/controllers/background-notifications.js.es6 @@ -106,7 +106,7 @@ export default Discourse.Controller.extend({ }, clickEventHandler() { - window.location.href = notificationUrl(firstUnseen); + Discourse.URL.routeTo(notificationUrl(firstUnseen)); window.focus(); },