4
0
Эх сурвалжийг харах

Minor change dynamic favicon

https://github.com/marienfressinaud/FreshRSS/issues/539
Alexandre Alapetite 11 жил өмнө
parent
commit
6ef9fc7a92
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      p/scripts/main.js

+ 1 - 1
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)';