aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.tabs.js
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2013-05-24 19:47:42 +0200
committerFelix Nagel <info@felixnagel.com>2013-05-24 19:47:42 +0200
commitcccb8c6e826b8140dd99f225a28cc6f725e86ced (patch)
treebb5ca77b1e1230a059f59d3e86ef933d5bbe03a6 /ui/jquery.ui.tabs.js
parent7e0737edc03d36b07c45981e0a6b58f8aab3824e (diff)
parentc19e7b3496d14b40e71ba892213889fc8cc81d4f (diff)
downloadjquery-ui-cccb8c6e826b8140dd99f225a28cc6f725e86ced.tar.gz
jquery-ui-cccb8c6e826b8140dd99f225a28cc6f725e86ced.zip
Merge branch 'master' into selectmenu
Diffstat (limited to 'ui/jquery.ui.tabs.js')
-rw-r--r--ui/jquery.ui.tabs.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/jquery.ui.tabs.js b/ui/jquery.ui.tabs.js
index 992bd41b2..4362421db 100644
--- a/ui/jquery.ui.tabs.js
+++ b/ui/jquery.ui.tabs.js
@@ -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, "" ) );