Skip to content

Commit

Permalink
chore: remove unused CSS classes in demo
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding authored Apr 11, 2024
1 parent 2e96fd5 commit d58e944
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/example5-collapsing.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ <h2>View Source:</h2>
var idx = dataView.getIdxById(dataContext.id);
if (data[idx + 1] && data[idx + 1].indent > data[idx].indent) {
if (dataContext._collapsed) {
return spacer + " <span class='toggle expand sgi sgi-collapse sgi-plus-box-outline sgi-darkgray'></span>&nbsp;" + value;
return spacer + " <span class='toggle expand sgi sgi-plus-box-outline'></span>&nbsp;" + value;
} else {
return spacer + " <span class='toggle collapse sgi sgi-minus-box-outline sgi-darkgray'></span>&nbsp;" + value;
return spacer + " <span class='toggle collapse sgi sgi-minus-box-outline'></span>&nbsp;" + value;
}
} else {
return spacer + " <span class='toggle'></span>&nbsp;" + value;
Expand Down

0 comments on commit d58e944

Please sign in to comment.