]> source.dussan.org Git - jquery-ui.git/commitdiff
Tabs: Remove anchor clone in isLocal. Fixed #8653 - Tabs are not working inside ifram...
authorDavid Petersen <public@petersendidit.com>
Tue, 16 Oct 2012 16:16:13 +0000 (12:16 -0400)
committerScott González <scott.gonzalez@gmail.com>
Wed, 17 Oct 2012 02:58:42 +0000 (22:58 -0400)
ui/jquery.ui.tabs.js

index 7d38fb46ea31547127de4875569d865f167da312..0d7f85fbcaf0a220607a07de01d9ed7e903ae9d6 100644 (file)
@@ -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, "" );
 }