mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Tabs: Remove anchor clone in isLocal. Fixed #8653 - Tabs are not working inside iframe in IE6/7.
This commit is contained in:
parent
1a69667887
commit
8ce35198da
3
ui/jquery.ui.tabs.js
vendored
3
ui/jquery.ui.tabs.js
vendored
@ -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, "" );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user