alecpl
2011-04-25 b7b7cf561402d85638d0ea8fa9683d14967c2d44
- Fix quota indicator in Webkit


1 files modified
3 ■■■■ changed files
program/js/app.js 3 ●●●● patch | view | raw | blame | history
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;