From 97bbe6e0b0f9d26edea00e13795e17ff03e6d151 Mon Sep 17 00:00:00 2001 From: Neil Bowers Date: Thu, 19 Jan 2012 15:15:26 +0000 Subject: [PATCH] fix for IE7: horizontal lines don't appear unless you put a non-breaking space inside the relevant TD elements. Still works fine on Safari, Chrome, IE8&9, Firefox, and Camino --- jquery.jOrgChart.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jquery.jOrgChart.js b/jquery.jOrgChart.js index da4ec0f..736c30b 100644 --- a/jquery.jOrgChart.js +++ b/jquery.jOrgChart.js @@ -184,8 +184,8 @@ // Draw the horizontal lines var $linesRow = $(""); $childNodes.each(function() { - var $left = $("").addClass("line left top"); - var $right = $("").addClass("line right top"); + var $left = $(" ").addClass("line left top"); + var $right = $(" ").addClass("line right top"); $linesRow.append($left).append($right); });