xui/xui — Issue #59: .addClass() does not Support Multiple Classes
Author: tekmonk
Created: 2011-11-03 21:13:47+00:00
State: open

If you are adding multiple classes, it works the first time, for example:

x$('div').addClass('myclass1 myclass2 myclassXXX');

But if you run that same line again, the classes are added again. It will keep doing it every time you run said line, so you will have classes added to the element over and over which will look like ...