Aleksander Machniak
2013-03-24 24e88e91f7ebac132fa356762b0cd544d42cef9f
skins/larry/ui.js
@@ -287,8 +287,15 @@
  /**
   * Update UI on window resize
   */
  function resize()
  function resize(e)
  {
    // resize in intervals to prevent lags and double onresize calls in Chrome (#1489005)
    var interval = e ? 10 : 0;
    if (rcmail.resize_timeout)
      window.clearTimeout(rcmail.resize_timeout);
    rcmail.resize_timeout = window.setTimeout(function() {
    if (rcmail.env.task == 'mail') {
      if (rcmail.env.action == 'show' || rcmail.env.action == 'preview')
        layout_messageview();
@@ -309,6 +316,7 @@
        body[action]('floatingbuttons');
      }
    });
    }, interval);
  }
  /**