1
0
mirror of https://github.com/flarum/core.git synced 2025-10-12 15:34:26 +02:00

Refresh notifications with discussion list refresh

* When clicking "refresh" button for discussion list (on homepage) refresh notifications
* When clicking forum title (on homepage) refresh notifications
This commit is contained in:
David Sevilla Martin
2016-07-26 11:25:05 -04:00
parent 08aaba6426
commit a1a22aa4ce
2 changed files with 6 additions and 1 deletions

View File

@@ -61,6 +61,7 @@ export default function boot(app) {
$('#home-link').click(e => {
if (e.ctrlKey || e.metaKey || e.which === 2) return;
e.preventDefault();
app.store.find('users', app.session.user.id());
app.history.home();
});