Tabs: Pass the required deep parameter to cloneNode(). Fixes completely broken tabs in Opera.

Thanks monoblaine.
This commit is contained in:
Scott González 2011-08-30 20:22:35 -04:00
parent dfe75e1b55
commit 87f78973b9

View 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;
};