ソースを参照

Merge pull request #622 from plopoyop/dev

Ajout du tag sur la notification HTML5
Marien Fressinaud 11 年 前
コミット
ffbee0d59c
1 ファイル変更2 行追加1 行削除
  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() {