]> source.dussan.org Git - jquery-ui.git/commitdiff
Tabs: Pass the required deep parameter to cloneNode(). Fixes completely broken tabs...
authorScott González <scott.gonzalez@gmail.com>
Wed, 31 Aug 2011 00:22:35 +0000 (20:22 -0400)
committerScott González <scott.gonzalez@gmail.com>
Wed, 31 Aug 2011 00:22:35 +0000 (20:22 -0400)
Thanks monoblaine.

ui/jquery.ui.tabs.js

index b6f178ed9fd432f44f5a90b7550ce1da2d522880..d4c5f6b69a48fec5a448a23379e87c589e9c4b55 100644 (file)
@@ -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;
        };