From b9016fae76d5e922954239fdf052ea5f8c01c842 Mon Sep 17 00:00:00 2001 From: David Petersen Date: Tue, 16 Oct 2012 12:16:13 -0400 Subject: [PATCH] Tabs: remove anchor clone in isLocal. Fixed: #8653 Tabs are not working inside iframe in IE6/7 --- ui/jquery.ui.tabs.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/ui/jquery.ui.tabs.js b/ui/jquery.ui.tabs.js index 7d38fb46ea3..0d7f85fbcaf 100644 --- a/ui/jquery.ui.tabs.js +++ b/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, "" ); }