From b9ceaad6705631bdc5ca20918444e9077eb08971 Mon Sep 17 00:00:00 2001 From: Max Meyers Date: Tue, 29 Nov 2016 22:39:58 -0500 Subject: [PATCH] changes --- homepageV2.js | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) 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