From b7b7cf561402d85638d0ea8fa9683d14967c2d44 Mon Sep 17 00:00:00 2001 From: alecpl Date: Mon, 25 Apr 2011 19:46:54 +0000 Subject: - Fix quota indicator in Webkit --- program/js/app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'program/js') 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; -- cgit v1.2.3