Minor change dynamic favicon

https://github.com/marienfressinaud/FreshRSS/issues/539
This commit is contained in:
Alexandre Alapetite committed 2014-08-03 20:20:54 +02:00
1 parent 78b9c82aa3
commit 6ef9fc7a92
1 file changed
+1 -1
+1 -1
View File
@@ -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)';