git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed #1074 where .html() was incorrectly changing the selected value of an option.
[jquery.git]
/
src
/
core.js
diff --git
a/src/core.js
b/src/core.js
index
d27dcb9
..
36d736c
100644
(file)
--- a/
src/core.js
+++ b/
src/core.js
@@
-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>" ] ||