refactor app.js

This commit is contained in:
German Correa 2018-10-17 15:29:24 -03:00
parent 0f2c6bb3cc
commit e455964d03

View File

@ -8,9 +8,9 @@ function routeMenu(){
case "/program": case "/program":
$("li#program").addClass("active"); $("li#program").addClass("active");
break; break;
case "/committees": /*case "/committees":
$("li#committees").addClass("active"); $("li#committees").addClass("active");
break; break;*/
case "/invitedspeakers": case "/invitedspeakers":
$("li#invitedspeakers").addClass("active"); $("li#invitedspeakers").addClass("active");
break; break;
@ -28,7 +28,7 @@ function routeMenu(){
} }
$(document).ready(function(){ $(document).ready(function(){
routeMenu(); routeMenu();
var margin = $(".container").css("margin-left"); //var margin = $(".container").css("margin-left");
//$("#menu").css("margin-left",margin); //$("#menu").css("margin-left",margin);
$('#contactform').submit(function(event){ $('#contactform').submit(function(event){