diff options
| author | 2014-08-07 21:45:52 +0200 | |
|---|---|---|
| committer | 2014-08-07 21:45:52 +0200 | |
| commit | a7632b54293100d71a6eadfcb98746da05358ddb (patch) | |
| tree | 474e538f38b693ef467b73fdbd97b7e0e668cc9d /p | |
| parent | eed05c06e98b22d5d68e21028dc22956c86ba75f (diff) | |
Dynamic favicon style 2
https://github.com/marienfressinaud/FreshRSS/issues/539
Diffstat (limited to 'p')
| -rw-r--r-- | p/scripts/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/p/scripts/main.js b/p/scripts/main.js index 9b47e52d2..a82450e7f 100644 --- a/p/scripts/main.js +++ b/p/scripts/main.js @@ -1082,7 +1082,7 @@ function faviconNbUnread(n) { } ctx.font = 'bold 9px "Arial", sans-serif'; ctx.fillStyle = 'rgba(255, 255, 255, 0.8)'; - ctx.fillRect(0, 7, 1 + ctx.measureText(text).width, 9); + ctx.fillRect(0, 7, ctx.measureText(text).width, 9); ctx.fillStyle = '#F00'; ctx.fillText(text, 0, canvas.height - 1); } |
