diff options
| author | 2017-01-19 11:41:30 +0100 | |
|---|---|---|
| committer | 2017-01-19 11:41:30 +0100 | |
| commit | 7a215f9de9d6ee4f9bb558d00f33f15eaee81ab1 (patch) | |
| tree | 2247dfbf408f9635b7c4f38a94b69845033d05fe /p | |
| parent | 5f637bd816b7323885bfe1751a1724ee59a822f6 (diff) | |
Switch to FreshRss tab
Switch to FreshRss tab when notification is clicked and close notification
Diffstat (limited to 'p')
| -rw-r--r-- | p/scripts/main.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/p/scripts/main.js b/p/scripts/main.js index 14e0c5be5..4799bad45 100644 --- a/p/scripts/main.js +++ b/p/scripts/main.js @@ -935,6 +935,8 @@ function notifs_html5_show(nb) { notification.onclick = function() { window.location.reload(); + window.focus(); + notification.close(); }; if (context.html5_notif_timeout !== 0) { |
