mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Tabs: Whitespace cleanup
This commit is contained in:
parent
b141d63a17
commit
bfadd5c5a2
4
ui/jquery.ui.tabs.js
vendored
4
ui/jquery.ui.tabs.js
vendored
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
var tabId = 0,
|
var tabId = 0,
|
||||||
rhash = /#.*$/;
|
rhash = /#.*$/;
|
||||||
|
|
||||||
function getNextTabId() {
|
function getNextTabId() {
|
||||||
return ++tabId;
|
return ++tabId;
|
||||||
}
|
}
|
||||||
@ -24,7 +24,7 @@ var isLocal = function( anchor ) {
|
|||||||
// clone the node to work around IE 6 not normalizing the href property
|
// 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
|
// if it's manually set, i.e., a.href = "#foo" kills the normalization
|
||||||
anchor = anchor.cloneNode( false );
|
anchor = anchor.cloneNode( false );
|
||||||
return anchor.hash.length > 1 &&
|
return anchor.hash.length > 1 &&
|
||||||
anchor.href.replace( rhash, "" ) === location.href.replace( rhash, "" );
|
anchor.href.replace( rhash, "" ) === location.href.replace( rhash, "" );
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user