{job.site.city}

{job.title}

{job.subtitle}

{job.type.name} {job.jobDate}

$(function () { $(".pseudo-hover").click(function() { window.location = $(this).find("a").first().attr("href"); return false; }); let url = location.href.replace(/\/$/, ""); if (location.hash) { const hash = url.split("#"); $('.nav-tabs-1 a[href="#'+hash[1]+'"]').tab("show"); $('div[data-target="#'+hash[1]+'"]').click(); $('html, body').animate({ scrollTop:$('#'+hash[1]).parent().offset().top - 150 }) url = location.href.replace(/\/#/, "#"); history.replaceState(null, null, url); } $('a[href*="#nav"], #footer a[href*="#"]').on("click", function() { let newUrl; const url = $(this).attr("href"); const hash = url.split("#"); $('.nav-tabs-1 a[href="#'+hash[1]+'"]').tab("show"); $('div[data-target="#'+hash[1]+'"]').click(); $('html, body').animate({ scrollTop:$('#'+hash[1]).parent().parent().offset().top - 150 }) }); $('a[data-toggle="tab"]').on("click", function() { let newUrl; const hash = $(this).attr("href"); if(hash == "#home") { newUrl = url.split("#")[0]; } else { newUrl = url.split("#")[0] + hash; } newUrl += "/"; history.replaceState(null, null, newUrl); }); });