From 5c024015f02ed5b0b772f8fff5bfe8aa6dab1d93 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Wed, 23 Jun 2010 04:02:37 -0400
Subject: [PATCH] - Fix quota indicator position on Opera 10.10

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

diff --git a/program/js/app.js b/program/js/app.js
index 3b5b727..666726c 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -4825,6 +4825,9 @@
       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;
 

--
Gitblit v1.9.1