Side navigation
#9498 closed bug (duplicate)
Opened June 02, 2011 05:31PM UTC
Closed June 02, 2011 05:59PM UTC
Last modified June 02, 2011 05:59PM UTC
Element creation fails when both options map and string attributes are present.
Reported by: | cowboy | Owned by: | |
---|---|---|---|
Priority: | blocker | Milestone: | 1.next |
Component: | manipulation | Version: | 1.6.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I must be doing something wrong...
// This works $('<span foo="bar"/>'); // This works $('<span/>', {html: 'baz'}); // This dont works (error) $('<span foo="bar"/>', {html: 'baz'});
Fixed landed here:
https://github.com/jquery/jquery/commit/ec829431feed29b393b1c22ca97e8af49f47e228