Opened 13 years ago
Closed 13 years ago
#5627 closed bug (fixed)
Replace broken on css return value
Reported by: | DumpsterDoggy | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.4 |
Component: | core | Version: | 1.4a1 |
Keywords: | css, replace | Cc: | |
Blocked by: | Blocking: |
Description
The following test works in 1.3.2:
test("can set and retrieve width", function() { var width = $("<p/>").css({width:100}).css("width").replace(/px/,""); equals(width, 100); });
but fails in 1.4a1 with the message:
$("<p/>").css({width: 100}).css("width").replace is not a function
Note: See
TracTickets for help on using
tickets.
Fixed. http://github.com/jquery/jquery/commit/4e9fed3b16ed9612ed373d14a89294e98054f4dd