Skip to content

Commit

Permalink
Tabs: Remove anchor clone in isLocal. Fixed #8653 - Tabs are not work…
Browse files Browse the repository at this point in the history
…ing inside iframe in IE6/7.
  • Loading branch information
petersendidit authored and scottgonzalez committed Oct 17, 2012
1 parent 1a69667 commit 8ce3519
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ui/jquery.ui.tabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ function getNextTabId() {
}

function isLocal( 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( false );
return anchor.hash.length > 1 &&
anchor.href.replace( rhash, "" ) === location.href.replace( rhash, "" );
}
Expand Down

0 comments on commit 8ce3519

Please sign in to comment.