Procházet zdrojové kódy

Fix bug of i18n in JavaScript

See https://github.com/marienfressinaud/FreshRSS/issues/655
Marien Fressinaud před 11 roky
rodič
revize
3831961b2e
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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"
 	});