summaryrefslogtreecommitdiff
path: root/p/scripts
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-02-21 00:58:51 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-02-21 00:58:51 +0100
commitcc1390fe9454166ee5d638aa01948f791ad7c4fe (patch)
treec6d98a04d0eb676729b7d2222f2767680d00dc19 /p/scripts
parent8cdf44c87b7490ebc4cbdf4f2c50dd2a3bdd520d (diff)
JavaScript popup number bug
A backslash caused problem. https://github.com/FreshRSS/FreshRSS/issues/1075 https://github.com/FreshRSS/FreshRSS/pull/1078
Diffstat (limited to 'p/scripts')
-rw-r--r--p/scripts/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/p/scripts/main.js b/p/scripts/main.js
index 32a2ca913..b7522df6a 100644
--- a/p/scripts/main.js
+++ b/p/scripts/main.js
@@ -863,7 +863,7 @@ function notifs_html5_show(nb) {
var notification = new window.Notification(i18n['notif_title_articles'], {
icon: "../themes/icons/favicon-256.png",
- body: i18n['notif_body_articles'].replace("\d", nb),
+ body: i18n['notif_body_articles'].replace('%d', nb),
tag: "freshRssNewArticles"
});