Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #659 from ExactTarget/tree-populate-bug-fix
Browse files Browse the repository at this point in the history
tree-populate-bug-fix: changes populate parent to be the tree container ...
  • Loading branch information
Kevin Parkerson committed Sep 9, 2014
2 parents 03438aa + 09a527f commit e79856b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@

populate: function ($el) {
var self = this;
var $parent = $el.parent();
var $parent = ($el.hasClass('tree')) ? $el : $el.parent();
var loader = $parent.find('.tree-loader:eq(0)');

loader.removeClass('hide');
Expand Down

0 comments on commit e79856b

Please sign in to comment.