mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Tabs: Restore anchor cloning for remote tab testing. Fixes #9317 - Tabs: Incorrect remote tab detection in IE7.
This commit is contained in:
parent
24756a978a
commit
daf3f0d9af
4
ui/jquery.ui.tabs.js
vendored
4
ui/jquery.ui.tabs.js
vendored
@ -22,6 +22,10 @@ function getNextTabId() {
|
||||
}
|
||||
|
||||
function isLocal( anchor ) {
|
||||
// support: IE7
|
||||
// IE7 doesn't normalize the href property when set via script (#9317)
|
||||
anchor = anchor.cloneNode( false );
|
||||
|
||||
return anchor.hash.length > 1 &&
|
||||
decodeURIComponent( anchor.href.replace( rhash, "" ) ) ===
|
||||
decodeURIComponent( location.href.replace( rhash, "" ) );
|
||||
|
Loading…
Reference in New Issue
Block a user