From: Jörn Zaefferer Date: Thu, 1 Mar 2012 12:30:57 +0000 (+0100) Subject: Tabs: Whitespace cleanup X-Git-Tag: 1.9m7~22^2~9 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=bfadd5c5a26893bef76435f0ebf278db9113dc6b;p=jquery-ui.git Tabs: Whitespace cleanup --- diff --git a/ui/jquery.ui.tabs.js b/ui/jquery.ui.tabs.js index 90f021a69..513aa2613 100644 --- a/ui/jquery.ui.tabs.js +++ b/ui/jquery.ui.tabs.js @@ -15,7 +15,7 @@ var tabId = 0, rhash = /#.*$/; - + function getNextTabId() { return ++tabId; } @@ -24,7 +24,7 @@ var isLocal = function( 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 && + return anchor.hash.length > 1 && anchor.href.replace( rhash, "" ) === location.href.replace( rhash, "" ); };