aboutsummaryrefslogtreecommitdiff
path: root/p/scripts
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-08-03 20:20:54 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-08-03 20:20:54 +0200
commit6ef9fc7a92e494c4c64189762053ef39fdfbb786 (patch)
tree0df1469d1e2abe1af78a70c900c43a81bd4a189a /p/scripts
parent78b9c82aa38c076e9d8d057548e6ab50afbc1f16 (diff)
Minor change dynamic favicon
https://github.com/marienfressinaud/FreshRSS/issues/539
Diffstat (limited to 'p/scripts')
-rw-r--r--p/scripts/main.js2
1 files changed, 1 insertions, 1 deletions
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)';