Bug Tracker

Opened 10 years ago

Closed 10 years ago

#5889 closed bug (duplicate)

.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:

Description

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.

Change History (1)

comment:1 Changed 10 years ago by dmethvin

Resolution: duplicate
Status: newclosed

Dup of #5873.

Note: See TracTickets for help on using tickets.