OscarSierra (Talk | contribs) |
OscarSierra (Talk | contribs) |
||
Line 392: | Line 392: | ||
// Make social-links div draggable | // Make social-links div draggable | ||
− | + | switch (window.location.pathname){ | |
− | + | ||
− | + | ||
− | + | ||
case "/Team:TecMonterrey_GDL/Description": | case "/Team:TecMonterrey_GDL/Description": | ||
document.getElementById('project').classList.add('active') | document.getElementById('project').classList.add('active') | ||
Line 483: | Line 480: | ||
case "/Team:TecMonterrey_GDL": | case "/Team:TecMonterrey_GDL": | ||
− | |||
document.getElementById('home').classList.add('active') | document.getElementById('home').classList.add('active') | ||
break; | break; | ||
− | } | + | } |
+ | $(document).ready(function(){ | ||
/*$(".dropdown-item").on("click", (event)=>{ | /*$(".dropdown-item").on("click", (event)=>{ |
Revision as of 16:11, 3 September 2018