Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

element.toggleClass() does not remove one of classnames #4467

Closed
kurumpa opened this issue Oct 16, 2013 · 0 comments
Closed

element.toggleClass() does not remove one of classnames #4467

kurumpa opened this issue Oct 16, 2013 · 0 comments
Assignees

Comments

@kurumpa
Copy link

kurumpa commented Oct 16, 2013

when starting with
someElement == [<div class="class1"></div>]
after calling someElement.toggleClass("class1 class2");
expected:
someElement == [<div class="class2"></div>]
actual:
someElement == [<div class="class1 class2"></div>]
using AngularJS v1.0.8

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants