Bug Tracker

Opened 9 years ago

Closed 9 years ago

#6883 closed bug (worksforme)

.addClass problem with '-'in class names

Reported by: sebrojas Owned by:
Priority: Milestone: 1.4.3
Component: core Version: 1.4.2
Keywords: addClass Cc:
Blocked by: Blocking:

Description

When the class name sent by parameter includes the '-' character, the method doesn't work

Change History (1)

comment:1 Changed 9 years ago by dmethvin

Resolution: worksforme
Status: newclosed

$(".test-me").text() showed "test" with this html:

<div id="test-me">test</div>

Please attach the smallest possible test case that demonstrates the problem.

Note: See TracTickets for help on using tickets.