Skip to content

Commit

Permalink
Update WSHlibrary_tree.js
Browse files Browse the repository at this point in the history
Use alternate array appending method, resolves java memory limit issue as mentioned in #292
  • Loading branch information
JadeTank authored May 13, 2024
1 parent 02c8010 commit bd4973f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/eole/js/WSHlibrary_tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -2866,7 +2866,7 @@ function populate() {
this.sel_items = [];
if (!add) this.clear();
if (!add) this.tree[idx].sel = true;
this.sel_items.push.apply(this.sel_items, this.tree[idx].item);
this.sel_items = this.sel_items.concat(this.tree[idx].item);
this.sel_items = uniq(this.sel_items);
last_sel = idx;
this.sel_group_count = 1;
Expand Down

0 comments on commit bd4973f

Please sign in to comment.