Selaa lähdekoodia

Fix bug of i18n in JavaScript

See https://github.com/marienfressinaud/FreshRSS/issues/655
Marien Fressinaud 11 vuotta sitten
vanhempi
commit
3831961b2e
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      p/scripts/main.js

+ 1 - 1
p/scripts/main.js

@@ -849,7 +849,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"
 	});