Permalink
Browse files

fix for IE7: horizontal lines don't appear unless you put a non-break…

…ing space inside the relevant TD elements.

Still works fine on Safari, Chrome, IE8&9, Firefox, and Camino
  • Loading branch information...
1 parent 914e7f2 commit 97bbe6e0b0f9d26edea00e13795e17ff03e6d151 @neilb neilb committed Jan 19, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 jquery.jOrgChart.js
View
@@ -184,8 +184,8 @@
// Draw the horizontal lines
var $linesRow = $("<tr/>");
$childNodes.each(function() {
- var $left = $("<td/>").addClass("line left top");
- var $right = $("<td/>").addClass("line right top");
+ var $left = $("<td>&nbsp;</td>").addClass("line left top");
+ var $right = $("<td>&nbsp;</td>").addClass("line right top");
$linesRow.append($left).append($right);
});

0 comments on commit 97bbe6e

Please sign in to comment.