From: Jan Schneider Date: Tue, 29 Jun 2010 11:43:37 +0000 (+0200) Subject: Fix row size calculation in Opera. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=020aeae63152abddaf2495d4f33cc945555790ad;p=horde.git Fix row size calculation in Opera. --- diff --git a/kronolith/js/kronolith.js b/kronolith/js/kronolith.js index 4ecd0999d..dc6b4e8fe 100644 --- a/kronolith/js/kronolith.js +++ b/kronolith/js/kronolith.js @@ -901,7 +901,7 @@ KronolithCore = { // FIXME: spacing is hardcoded for IE 7 because it doesn't know about // border-spacing, but still uses it. WTF? - spacing = spacing ? parseInt($w(spacing)[1], 10) : 2; + spacing = (spacing ? parseInt($w(spacing)[1], 10) : 2) || 2; this[storage] = {}; this[storage].height = layout.get('margin-box-height') + spacing; this[storage].spacing = this[storage].height - layout.get('padding-box-height');