From 8ce35198daf261370e2962f4c429bf4fa998b2df Mon Sep 17 00:00:00 2001 From: David Petersen Date: Tue, 16 Oct 2012 12:16:13 -0400 Subject: 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(-) (limited to 'ui') diff --git a/ui/jquery.ui.tabs.js b/ui/jquery.ui.tabs.js index 7d38fb46e..0d7f85fbc 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, "" ); } -- cgit v1.2.3