Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Fix bug when removing a css class #361

Merged
merged 1 commit into from Mar 17, 2012

Conversation

Projects
None yet
2 participants
Contributor

johnthethird commented Mar 17, 2012

When removing a css class name from a list of names, replace with a space char to ensure class="one two three" doesnt become class="onethree". I've also tweaked a test to catch this scenario.

@airhorns airhorns added a commit that referenced this pull request Mar 17, 2012

@airhorns airhorns Merge pull request #361 from johnthethird/bug-addclass
Fix bug when removing a css class
31cad7e

@airhorns airhorns merged commit 31cad7e into batmanjs:master Mar 17, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment