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:
@@ -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();
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user