Fix globally exposed variables.

master
Florian Schäfer 2012-05-07 13:31:15 +03:00
parent ddfc594332
commit 5ad2511c3b
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@
var $appendTo = $(opts.chartElement); var $appendTo = $(opts.chartElement);
// build the tree // build the tree
$this = $(this); var $this = $(this);
var $container = $("<div class='" + opts.chartClass + "'/>"); var $container = $("<div class='" + opts.chartClass + "'/>");
if($this.is("ul")) { if($this.is("ul")) {
buildNode($this.find("li:first"), $container, 0, opts); buildNode($this.find("li:first"), $container, 0, opts);
@ -205,7 +205,7 @@
$downLineRow.append($downLineCell); $downLineRow.append($downLineCell);
// draw the connecting line from the parent node to the horizontal line // draw the connecting line from the parent node to the horizontal line
$downLine = $("<div></div>").addClass("line down"); var $downLine = $("<div></div>").addClass("line down");
$downLineCell.append($downLine); $downLineCell.append($downLine);
$tbody.append($downLineRow); $tbody.append($downLineRow);