Answer the question
In order to leave comments, you need to log in
How to get rid of "Chained call to function" in JSCS check?
Hello.
I have code that looks like this:
if ($(pr).hasClass('discounts-more_closed')) {
$(pr).removeClass('discounts-more_closed');
...
$(pr).hasClass
Chained call to function "hasClass"
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question