summaryrefslogtreecommitdiff
path: root/roundcubemail
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-04-25 19:46:54 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-04-25 19:46:54 +0000
commite88f72aa9cf41bef1f26084c050a505db951edeb (patch)
treebd2f9a00d2cdb9b19d3a9940df55451d24374aad /roundcubemail
parent0241c9fcb48b91510012ad17bc6bff9ca6f5fd73 (diff)
- Fix quota indicator in Webkit
git-svn-id: https://svn.roundcube.net/trunk@4697 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail')
-rw-r--r--roundcubemail/program/js/app.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js
index 46aa7f00d..ec683e46a 100644
--- a/roundcubemail/program/js/app.js
+++ b/roundcubemail/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;