Skip to content

Commit 8ce3519

Browse files
petersendiditscottgonzalez
authored andcommitted
Tabs: Remove anchor clone in isLocal. Fixed #8653 - Tabs are not working inside iframe in IE6/7.
1 parent 1a69667 commit 8ce3519

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

ui/jquery.ui.tabs.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ function getNextTabId() {
2222
}
2323

2424
function isLocal( anchor ) {
25-
// clone the node to work around IE 6 not normalizing the href property
26-
// if it's manually set, i.e., a.href = "#foo" kills the normalization
27-
anchor = anchor.cloneNode( false );
2825
return anchor.hash.length > 1 &&
2926
anchor.href.replace( rhash, "" ) === location.href.replace( rhash, "" );
3027
}

0 commit comments

Comments
 (0)