05.07.2021, 08:52
(05.07.2021, 08:09)Erwin van der Zwart Wrote: Why is that important? If it's already hidden it has no infuence at all to remove the class again in the DOM ..
You could check with hasClass() method
I have another object i am listening to (same code as above different obj) also show/hide the same vis element and I want to check if it’s hidden or not before changing etc, I will have a look at the hasClass() function thanks