summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-09-18 15:46:36 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-09-18 15:46:36 +0200
commitffbee0d59cd5029d9580716e584baf1a0d8346f7 (patch)
tree2193aff913ecd3825bc33ac4eae4da0b8b49a400
parent0947b780c94da2761180387e51ff17940f0080cb (diff)
parentbafe851f9073faedc52b4de1ff4fbe5a680dab2b (diff)
Merge pull request #622 from plopoyop/dev
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 2650d6045..b2ca90c5b 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() {