hierarchy-select icon indicating copy to clipboard operation
hierarchy-select copied to clipboard

fix to work with empty list / older version of jquery

Open tombrown86 opened this issue 3 years ago • 0 comments

I was getting console errors due to the selected variable evaluating true when it was empty. This fix just makes sure there are 1 or more elements to act on. This may be due to an older version of jquery but either way it's a compatible / future proof fix.

It may be worth looking for same issue in other branches.

tombrown86 avatar Nov 16 '22 13:11 tombrown86