From 020aeae63152abddaf2495d4f33cc945555790ad Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Tue, 29 Jun 2010 13:43:37 +0200 Subject: [PATCH] Fix row size calculation in Opera. --- kronolith/js/kronolith.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); -- 2.11.0