aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjaubourg <j@ubourg.net>2013-01-08 11:15:36 +0100
committerjaubourg <j@ubourg.net>2013-01-08 11:15:36 +0100
commit7cc629d0979fdc3b0a65d4501a3d71303708dee2 (patch)
tree16cd57d3540fed3ee592b968da674ef058456851 /src
parentd4e666d475923477c693643a40168cc0e6889d8f (diff)
downloadjquery-7cc629d0979fdc3b0a65d4501a3d71303708dee2.tar.gz
jquery-7cc629d0979fdc3b0a65d4501a3d71303708dee2.zip
Opera 12.0 still implements an older version of the DOM so cloneNode cannot be called without an argument
Diffstat (limited to 'src')
-rw-r--r--src/support.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/support.js b/src/support.js
index 9950b33d4..35fb87612 100644
--- a/src/support.js
+++ b/src/support.js
@@ -65,7 +65,7 @@ jQuery.support = (function() {
support.focusinBubbles = "onfocusin" in window || div.attributes.onfocusin.expando === false;
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