aboutsummaryrefslogtreecommitdiffstats
path: root/src/manipulation.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/manipulation.js')
-rw-r--r--src/manipulation.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/manipulation.js b/src/manipulation.js
index 11bd5b079..803a67bd6 100644
--- a/src/manipulation.js
+++ b/src/manipulation.js
@@ -229,7 +229,7 @@ jQuery.extend( {
// Support: IE <=11+
// IE fails to set the defaultValue to the correct value when
// cloning textareas.
- if ( destElements[ i ].nodeName.toLowerCase() === "textarea" ) {
+ if ( nodeName( destElements[ i ], "textarea" ) ) {
destElements[ i ].defaultValue = srcElements[ i ].defaultValue;
}
}