sidewinderlabs / backplanejs

Other
12 stars 3 forks source link

Check whether class name is absent/present when adding/removing class names #46

Closed backplane-import closed 13 years ago

backplane-import commented 13 years ago

Imported from backplanejs Google Code issue 46.

Reporter markbirbeck
Date 24 Apr 2010 4:50:34 PM UTC

It's well known that adding and removing classes from HTML elements is time-consuming.

We currently use the YUI addClass() and removeClass() functions to set and remove classes, but we should also use the hasClass() function to check whether we actually need to make the change.


Owner set to markbirbeck

Priority: Medium Type: Enhancement

backplane-import commented 13 years ago

Comment by markbirbeck on 24 Apr 2010 5:42:01 PM UTC

This issue was closed by revision 61c50ad3b25830ff686fbbdf000ae39ac53a1bda (originally d6ea4e794d).


Updates

Ticket status set to Fixed