From 6ef9fc7a92e494c4c64189762053ef39fdfbb786 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sun, 3 Aug 2014 20:20:54 +0200 Subject: Minor change dynamic favicon https://github.com/marienfressinaud/FreshRSS/issues/539 --- p/scripts/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p/scripts/main.js b/p/scripts/main.js index acb7bd527..762b2e58e 100644 --- a/p/scripts/main.js +++ b/p/scripts/main.js @@ -1078,7 +1078,7 @@ function faviconNbUnread(n) { } else if (n < 100000) { text = Math.floor(n / 1000) + 'k'; } else { - text = 'E' + Math.min(99, Math.floor(Math.log10(n))); + text = 'E' + Math.floor(Math.log10(n)); } ctx.font = 'bold 9px "Arial", sans-serif'; ctx.fillStyle = 'rgba(255, 255, 255, 127)'; -- cgit v1.2.3