diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-03-01 13:30:57 +0100 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-03-01 13:30:57 +0100 |
commit | bfadd5c5a26893bef76435f0ebf278db9113dc6b (patch) | |
tree | 11cd7595f967a8257aaf13658d4bc55175a12de4 | |
parent | b141d63a17a7f79b36ee9c9a0f1dd66493f3ef8e (diff) | |
download | jquery-ui-bfadd5c5a26893bef76435f0ebf278db9113dc6b.tar.gz jquery-ui-bfadd5c5a26893bef76435f0ebf278db9113dc6b.zip |
Tabs: Whitespace cleanup
-rw-r--r-- | ui/jquery.ui.tabs.js | 4 |
1 files 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, "" ); }; |