From bfadd5c5a26893bef76435f0ebf278db9113dc6b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=CC=88rn=20Zaefferer?= Date: Thu, 1 Mar 2012 13:30:57 +0100 Subject: [PATCH] Tabs: Whitespace cleanup --- ui/jquery.ui.tabs.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, "" ); }; -- 2.39.5