Currently, I am utilizing a JS library that comes with a specific widget.
Basically, I have the following list (I removed unnecessary DOM code):
<li class="disabled">
When I hover over this list item, it turns into:
<li class="disabled state-active">
I am looking to prevent the 'state-active' class from being added during hover if the class already includes 'disabled'.
What would be the most effective approach to achieve this?