Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #21 from fschaefer/patch-1

Fix globally exposed variables.
  • Loading branch information...
commit cb137b535ecfb79c4d97978e1a31957f94765432 2 parents 6fddbda + 5ad2511
Wes authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 jquery.jOrgChart.js
4 jquery.jOrgChart.js
View
@@ -18,7 +18,7 @@
var $appendTo = $(opts.chartElement);
// build the tree
- $this = $(this);
+ var $this = $(this);
var $container = $("<div class='" + opts.chartClass + "'/>");
if($this.is("ul")) {
buildNode($this.find("li:first"), $container, 0, opts);
@@ -165,7 +165,7 @@
$downLineRow.append($downLineCell);
// 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);
$tbody.append($downLineRow);
Please sign in to comment.
Something went wrong with that request. Please try again.