diff --git a/homepageV2.js b/homepageV2.js index 3ceb2df..f6d22ab 100644 --- a/homepageV2.js +++ b/homepageV2.js @@ -6,41 +6,40 @@ $(function(){ $('#chan').mouseover(function(){ if($('.content').hasClass('active')){ $('.content').removeClass('active').hide(); - $('#4chanList').addClass('active').show('600'); - } + $('#4chanList').addClass('active').show('600'); }); $('#music').mouseover(function(){ if($('.content').hasClass('active')){ $('.content').removeClass('active').hide(); - $('#musicList').addClass('active').show('600'); } + $('#musicList').addClass('active').show('600'); }); $('#school').mouseover(function(){ if($('.content').hasClass('active')){ $('.content').removeClass('active').hide(); - $('#schoolList').addClass('active').show('600'); } + $('#schoolList').addClass('active').show('600'); }); $('#work').mouseover(function(){ if($('.content').hasClass('active')){ $('.content').removeClass('active').hide(); - $('#workList').addClass('active').show('600'); } + $('#workList').addClass('active').show('600'); }); $('#resources').mouseover(function(){ if($('.content').hasClass('active')){ $('.content').removeClass('active').hide(); - $('#resourceList').addClass('active').show('600');; } + $('#resourceList').addClass('active').show('600'); }); $('#checklist').mouseover(function(){ if($('.content').hasClass('active')){ $('.content').removeClass('active').hide(); - $('#todoList').addClass('active').show('600'); } + $('#todoList').addClass('active').show('600'); }); //part 3