Kaynağa Gözat

Merge pull request #1409 from Crupuk/patch-1

Switch to FreshRss tab
Alexandre Alapetite 9 yıl önce
ebeveyn
işleme
bb69a960b2
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. 2 0
      p/scripts/main.js

+ 2 - 0
p/scripts/main.js

@@ -935,6 +935,8 @@ function notifs_html5_show(nb) {
 
 
 	notification.onclick = function() {
 	notification.onclick = function() {
 		window.location.reload();
 		window.location.reload();
+		window.focus();
+		notification.close();
 	};
 	};
 
 
 	if (context.html5_notif_timeout !== 0) {
 	if (context.html5_notif_timeout !== 0) {