Skip to content

Commit

Permalink
html data now respects data.jstree icon as boolean false
Browse files Browse the repository at this point in the history
  • Loading branch information
vakata committed May 4, 2015
1 parent a119c6f commit 4f85ea3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/jstree.js
Original file line number Diff line number Diff line change
Expand Up @@ -1932,7 +1932,7 @@
if(tmp.length) {
data.icon = tmp.hasClass('jstree-themeicon-hidden') ? false : tmp.attr('rel');
}
if(data.state.icon) {
if(data.state.icon !== undefined) {
data.icon = data.state.icon;
}
if(data.icon === undefined || data.icon === null || data.icon === "") {
Expand Down
Loading

0 comments on commit 4f85ea3

Please sign in to comment.