summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar plopoyop <clement@iMac-de-Clement.local> 2014-09-18 15:29:16 +0200
committerGravatar plopoyop <clement@iMac-de-Clement.local> 2014-09-18 15:29:16 +0200
commitbafe851f9073faedc52b4de1ff4fbe5a680dab2b (patch)
treef2c9c6f359cc2b5a93267ce4b20a39bf0edb7ea6
parent0c012b006c868db294b1c227f82fb5861075001f (diff)
Ajout du tag sur la notification HTML5
-rw-r--r--p/scripts/main.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/p/scripts/main.js b/p/scripts/main.js
index c568bac35..9d2d83a32 100644
--- a/p/scripts/main.js
+++ b/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() {