Closed SaidElBakkali closed 4 years ago
ClassName.indexOf is not a good practice, I think using the DOM API node.classList.contains() is much better.
ClassName.indexOf
node.classList.contains()
Congratulations for your first merged PR :tada:
ClassName.indexOf
is not a good practice, I think using the DOM APInode.classList.contains()
is much better.