Skip to content

A free, self-hostable news aggregator…

Switch to FreshRss tab

Crupuk7a215f9de9d6
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) {