Skip to content

Commit

Permalink
fixed # reference
Browse files Browse the repository at this point in the history
  • Loading branch information
vakata committed Jan 16, 2023
1 parent 61a6917 commit 0d17bc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jstree.js
Original file line number Diff line number Diff line change
Expand Up @@ -1315,7 +1315,7 @@
}
obj.state.failed = false;
obj.state.loading = true;
if (obj.id !== '#') {
if (obj.id !== $.jstree.root) {
dom.children(".jstree-anchor").attr('aria-busy', true);
} else {
dom.attr('aria-busy', true);
Expand Down Expand Up @@ -1344,7 +1344,7 @@
}
}
}
if (obj.id !== '#') {
if (obj.id !== $.jstree.root) {
dom.children(".jstree-anchor").attr('aria-busy', false);
} else {
dom.attr('aria-busy', false);
Expand Down

0 comments on commit 0d17bc2

Please sign in to comment.