Przeglądaj źródła

Merge pull request #622 from plopoyop/dev

Ajout du tag sur la notification HTML5
Marien Fressinaud 11 lat temu
rodzic
commit
ffbee0d59c
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      p/scripts/main.js

+ 2 - 1
p/scripts/main.js

@@ -860,7 +860,8 @@ function notifs_html5_show(nb) {
 
 	var notification = new window.Notification(str_notif_title_articles, {
 		icon: "../themes/icons/favicon-256.png",
-		body: str_notif_body_articles.replace("\d", nb)
+		body: str_notif_body_articles.replace("\d", nb),
+		tag: "freshRssNewArticles"
 	});
 
 	notification.onclick = function() {