From 4694118ef79e0800d408b2bc442d0aa2aec1f3eb Mon Sep 17 00:00:00 2001 From: jaubourg Date: Tue, 8 Jan 2013 11:15:36 +0100 Subject: [PATCH] Opera 12.0 still implements an older version of the DOM so cloneNode cannot be called without an argument --- src/support.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5