From: Scott González Date: Wed, 31 Aug 2011 00:22:35 +0000 (-0400) Subject: Tabs: Pass the required deep parameter to cloneNode(). Fixes completely broken tabs... X-Git-Tag: 1.9m6~23 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=87f78973b919130880a42651596edbae0b2a7741;p=jquery-ui.git Tabs: Pass the required deep parameter to cloneNode(). Fixes completely broken tabs in Opera. Thanks monoblaine. --- diff --git a/ui/jquery.ui.tabs.js b/ui/jquery.ui.tabs.js index b6f178ed9..d4c5f6b69 100644 --- a/ui/jquery.ui.tabs.js +++ b/ui/jquery.ui.tabs.js @@ -25,7 +25,7 @@ var isLocal = (function() { return function( anchor ) { // clone the node to work around IE 6 not normalizing the href property // if it's manually set, i.e., a.href = "#foo" kills the normalization - anchor = anchor.cloneNode(); + anchor = anchor.cloneNode( false ); return anchor.hash.length > 1 && anchor.href.replace( rhash, "" ) === currentPage; };