Skip to content
Permalink
Browse files

copy defaultSelected in cloneFixAttributes

  • Loading branch information
gibson042 committed Dec 12, 2012
1 parent 32842ac commit 1d1c80d377bf3e4ae382a6ecd06624866e620fb6
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/manipulation.js
@@ -491,7 +491,7 @@ function cloneFixAttributes( src, dest ) {
// IE6-8 fails to return the selected option to the default selected
// state when cloning options
} else if ( nodeName === "option" ) {
dest.selected = src.defaultSelected;
dest.defaultSelected = dest.selected = src.defaultSelected;

// IE6-8 fails to set the defaultValue to the correct value when
// cloning other types of input fields

0 comments on commit 1d1c80d

Please sign in to comment.
You can’t perform that action at this time.