mirror of
https://github.com/jquery/jquery.git
synced 2026-02-06 23:45:12 -05:00
Fixed #1074 where .html() was incorrectly changing the selected value of an option.
This commit is contained in:
@@ -932,7 +932,7 @@ jQuery.extend({
|
||||
var wrap =
|
||||
// option or optgroup
|
||||
!tags.indexOf("<opt") &&
|
||||
[ 1, "<select>", "</select>" ] ||
|
||||
[ 1, "<select multiple='multiple'>", "</select>" ] ||
|
||||
|
||||
!tags.indexOf("<leg") &&
|
||||
[ 1, "<fieldset>", "</fieldset>" ] ||
|
||||
|
||||
Reference in New Issue
Block a user