[Svn] r4697 - trunk/roundcubemail/program/js

trac at roundcube.net trac at roundcube.net
Mon Apr 25 21:46:56 CEST 2011


Author: alec
Date: 2011-04-25 14:46:54 -0500 (Mon, 25 Apr 2011)
New Revision: 4697

Modified:
   trunk/roundcubemail/program/js/app.js
Log:
- Fix quota indicator in Webkit


Modified: trunk/roundcubemail/program/js/app.js
===================================================================
--- trunk/roundcubemail/program/js/app.js	2011-04-25 15:44:32 UTC (rev 4696)
+++ trunk/roundcubemail/program/js/app.js	2011-04-25 19:46:54 UTC (rev 4697)
@@ -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;

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list