mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Use Discourse.URL.routeTo
This commit is contained in:
parent
84896bdccf
commit
59bdff348c
@ -106,7 +106,7 @@ export default Discourse.Controller.extend({
|
|||||||
},
|
},
|
||||||
|
|
||||||
clickEventHandler() {
|
clickEventHandler() {
|
||||||
window.location.href = notificationUrl(firstUnseen);
|
Discourse.URL.routeTo(notificationUrl(firstUnseen));
|
||||||
window.focus();
|
window.focus();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user