Skip to main content

Bug Tracker

Side navigation

#5889 closed bug (duplicate)

Opened January 21, 2010 04:15PM UTC

Closed January 22, 2010 03:45AM UTC

.removeClass in 1.4 leaves a space

Reported by: garann Owned by:
Priority: minor Milestone: 1.4.1
Component: unfiled Version: 1.4
Keywords: Cc:
Blocked by: Blocking:

I'm using jQuery to add a class to an element, and then later remove it when the page leaves a certain state. When the class is removed, there's a space left. When the class is added, there's no extra space - it's added by removeClass. This is sort of annoying, because the container can have one or more of several classes I'm using this way, so I've been checking that className === "" and now I have to find another way of checking that it's back to its initial state.

Attachments (0)
Change History (1)

Changed January 22, 2010 03:45AM UTC by dmethvin comment:1

resolution: → duplicate
status: newclosed

Dup of #5873.