summaryrefslogtreecommitdiff
path: root/program/js/app.js
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-04-25 19:46:54 +0000
committeralecpl <alec@alec.pl>2011-04-25 19:46:54 +0000
commitb7b7cf561402d85638d0ea8fa9683d14967c2d44 (patch)
tree1f610ae90020a98b1338d2c9be938ba9ee05ce44 /program/js/app.js
parent63e9927d5f4a9a2a8ef42697d88649fa7d868ae4 (diff)
- Fix quota indicator in Webkit
Diffstat (limited to 'program/js/app.js')
-rw-r--r--program/js/app.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 46aa7f00d..ec683e46a 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -5074,8 +5074,9 @@ function rcube_webmail()
quota_width = parseInt(quota / 100 * width),
pos = $(obj).position();
- // Opera bug?
+ // workarounds for Opera and Webkit bugs
pos.top = Math.max(0, pos.top);
+ pos.left = Math.max(0, pos.left);
this.env.indicator_width = width;
this.env.indicator_height = height;