Tabs: Remove anchor clone in isLocal. Fixed #8653 - Tabs are not working inside iframe in IE6/7.

This commit is contained in:
David Petersen 2012-10-16 12:16:13 -04:00 committed by Scott González
parent 1a69667887
commit 8ce35198da

View File

@ -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, "" );
}