summaryrefslogtreecommitdiff
path: root/common/content/statusline.js
diff options
context:
space:
mode:
Diffstat (limited to 'common/content/statusline.js')
-rw-r--r--common/content/statusline.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/content/statusline.js b/common/content/statusline.js
index 0d623666..f78a3691 100644
--- a/common/content/statusline.js
+++ b/common/content/statusline.js
@@ -309,7 +309,7 @@ var StatusLine = Module("statusline", {
if (percent == 100)
this.widgets.zoomlevel.value = "";
else {
- percent = (" " + percent).substr(-3);
+ percent = (" " + Math.round(percent)).substr(-3);
if (full)
this.widgets.zoomlevel.value = " [" + percent + "%]";
else