Skip to content
Permalink
Browse files

Tabs: Remove anchor clone in isLocal. Fixed #8653 - Tabs are not work…

…ing inside iframe in IE6/7.
  • Loading branch information...
petersendidit authored and scottgonzalez committed Oct 16, 2012
1 parent 1a69667 commit 8ce35198daf261370e2962f4c429bf4fa998b2df
Showing with 0 additions and 3 deletions.
  1. +0 −3 ui/jquery.ui.tabs.js
@@ -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, "" );
}

0 comments on commit 8ce3519

Please sign in to comment.
You can’t perform that action at this time.