.is() = overhead?
.is() = overhead?
issue:
if($("#sometooltip").is(':visible')) {
$("#sometooltip").remove();
}
I'm wondering if it is useful to use the .is() function in spots like that. Will .remove() check if the element is in the DOM for itself?
Topic Participants
andreas.goebel
peolanha