tab highlighted by default on pageload should be Active, not Wishlisted
parent
5036153379
commit
c70a22913f
|
@ -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(){
|
||||
|
|
Loading…
Reference in New Issue