Skip to main content

Bug Tracker

Side navigation

#10865 closed bug (duplicate)

Opened November 22, 2011 07:29PM UTC

Closed November 22, 2011 07:43PM UTC

Last modified November 22, 2011 07:43PM UTC

$(selector).html(undefined) returns the content of the element

Reported by: mbj@mbj.dk Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:
Description

This might be an intended feature, but it feels like a bug to me.

I'd expect methods like html to look at the length of the arguments array and not just check if the first argument is undefined.

Attachments (0)
Change History (2)

Changed November 22, 2011 07:43PM UTC by timmywil comment:1

resolution: → duplicate
status: newclosed

Changed November 22, 2011 07:43PM UTC by timmywil comment:2

Duplicate of #5571.