summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-06-23 08:02:37 +0000
committeralecpl <alec@alec.pl>2010-06-23 08:02:37 +0000
commit5c024015f02ed5b0b772f8fff5bfe8aa6dab1d93 (patch)
treedcca2c5ab5d03ac6e21dcf60a0ca6ead3c6201da
parentbe6f3a9d283198d6c6abb98fb540ab188b445f52 (diff)
- Fix quota indicator position on Opera 10.10
-rw-r--r--program/js/app.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 3b5b72725..666726cf0 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -4825,6 +4825,9 @@ function rcube_webmail()
quota_width = parseInt(quota / 100 * width),
pos = $(obj).position();
+ // Opera bug?
+ pos.top = Math.max(0, pos.top);
+
this.env.indicator_width = width;
this.env.indicator_height = height;