aboutsummaryrefslogtreecommitdiffstats
path: root/src/support.js
diff options
context:
space:
mode:
authorjaubourg <j@ubourg.net>2013-01-08 11:15:36 +0100
committerjaubourg <j@ubourg.net>2013-01-08 11:55:19 +0100
commit4694118ef79e0800d408b2bc442d0aa2aec1f3eb (patch)
treeacdcfb0fd0dbc9a3b005c41e3fff3c6fac89acdd /src/support.js
parent0ed497b04595eab5beca1441a134761b11fc9b2f (diff)
downloadjquery-4694118ef79e0800d408b2bc442d0aa2aec1f3eb.tar.gz
jquery-4694118ef79e0800d408b2bc442d0aa2aec1f3eb.zip
Opera 12.0 still implements an older version of the DOM so cloneNode cannot be called without an argument
Diffstat (limited to 'src/support.js')
-rw-r--r--src/support.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/support.js b/src/support.js
index 4960930ef..ce764a1ce 100644
--- a/src/support.js
+++ b/src/support.js
@@ -139,7 +139,7 @@ jQuery.support = (function() {
}
div.style.backgroundClip = "content-box";
- div.cloneNode().style.backgroundClip = "";
+ div.cloneNode( true ).style.backgroundClip = "";
support.clearCloneStyle = div.style.backgroundClip === "content-box";
// Run tests that need a body at doc ready