From b7b7cf561402d85638d0ea8fa9683d14967c2d44 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Mon, 25 Apr 2011 15:46:54 -0400
Subject: [PATCH] - Fix quota indicator in Webkit

---
 program/js/app.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/program/js/app.js b/program/js/app.js
index 46aa7f0..ec683e4 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -5074,8 +5074,9 @@
       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;

--
Gitblit v1.9.1