Skip to content

Commit 87f7897

Browse files
committed
Tabs: Pass the required deep parameter to cloneNode(). Fixes completely broken tabs in Opera.
Thanks monoblaine.
1 parent dfe75e1 commit 87f7897

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/jquery.ui.tabs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ var isLocal = (function() {
2525
return function( anchor ) {
2626
// clone the node to work around IE 6 not normalizing the href property
2727
// if it's manually set, i.e., a.href = "#foo" kills the normalization
28-
anchor = anchor.cloneNode();
28+
anchor = anchor.cloneNode( false );
2929
return anchor.hash.length > 1 &&
3030
anchor.href.replace( rhash, "" ) === currentPage;
3131
};

0 commit comments

Comments
 (0)