Closed
Description
As discovered in #85438, hasClass
returns false
when the element doesn't exist (which is normal) but that means we have to check if the element exist beforehand sometimes too.
As discovered in #85438, hasClass
returns false
when the element doesn't exist (which is normal) but that means we have to check if the element exist beforehand sometimes too.