From 7abe9caec1d762f6b36f4a710a4bc31e3eead5c6 Mon Sep 17 00:00:00 2001 From: Amir Gamil Date: Mon, 4 Nov 2013 15:11:44 +0000 Subject: [PATCH] Remove console.log($node) from line 213 to allow to work in IE9 (thanks to Vito Pellicano http://th3silverlining.com/2011/12/01/jquery-org-chart-a-plugin-for-visualising-data-in-a-tree-like-structure/#comment-2004) --- example/jquery.jOrgChart.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/jquery.jOrgChart.js b/example/jquery.jOrgChart.js index 141dd49..cc7a8de 100644 --- a/example/jquery.jOrgChart.js +++ b/example/jquery.jOrgChart.js @@ -210,7 +210,7 @@ var classList = $node.attr('class').split(/\s+/); $.each(classList, function(index,item) { if (item == 'collapsed') { - console.log($node); + $nodeRow.nextAll('tr').css('visibility', 'hidden'); $nodeRow.removeClass('expanded'); $nodeRow.addClass('contracted');