tab highlighted by default on pageload should be Active, not Wishlisted

pull/1/head
Andromeda Yelton 2012-03-01 09:11:06 -05:00
parent 5036153379
commit c70a22913f
1 changed files with 6 additions and 6 deletions

View File

@ -22,19 +22,19 @@
var tabsLink3 = $j('li.tabs3');
var contentBlockContent = $j('#content-block-content');
// on pageload we are showing only the active tab
// on pageload we are showing only the Active tab, not Unglued or Wishlisted
if(location.hash == "#1") {
tabsDash2.hide();
tabsDash3.hide();
tabsLink1.addClass('active');
} else if(location.hash =="#2") {
tabsDash1.hide();
tabsDash3.hide();
tabsLink2.addClass('active');
} else {
} else if(location.hash =="#3") {
tabsDash1.hide();
tabsDash2.hide();
tabsLink3.addClass('active');
} else {
tabsDash1.hide();
tabsDash3.hide();
tabsLink2.addClass('active');
}
tabs1.click(function(){