diff --git a/js/main.min.js b/js/main.min.js index 91d3c30..266342d 100644 --- a/js/main.min.js +++ b/js/main.min.js @@ -1 +1 @@ -!function(){var e=$(".gbl-head");$(window).scroll(function(){$(this).scrollTop()>0?e.removeClass("top"):e.addClass("top")});var t=$(".gbl-head-btn");$(".gbl-head-nav");t.click(function(){e.toggleClass("active")}),/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)?$("body").addClass("touch-device"):$("body").addClass("click-device"),(/MSIE 9/i.test(navigator.userAgent)||/MSIE 10/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent))&&$("body").addClass("ie"),/Edge\/\d./i.test(navigator.userAgent)&&$("body").addClass("edge"),$("a[href*=#]:not([href=#])").click(function(){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){var e=$(this.hash);if(e=e.length?e:$("[name="+this.hash.slice(1)+"]"),e.length)return $("html,body").animate({scrollTop:e.offset().top},1e3),!1}}),console.log("%cHey! Love the console? Then check out our careers page.",'font-family: "brandon-text","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;font-weight: 900;text-transform: uppercase;letter-spacing: -1px;text-shadow: 3px 4px 0 rgba(0,0,0,0.1);font-size:42px;color:#ed4f7e;')}(); +!function(){var e=$(".gbl-head");$(window).scroll(function(){$(this).scrollTop()>0?e.removeClass("top"):e.addClass("top")});var a=$(".gbl-head-btn");$(".gbl-head-nav");a.click(function(){e.toggleClass("active")}),/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)?$("body").addClass("touch-device"):$("body").addClass("click-device"),(/MSIE 9/i.test(navigator.userAgent)||/MSIE 10/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent))&&$("body").addClass("ie"),/Edge\/\d./i.test(navigator.userAgent)&&$("body").addClass("edge"),$("a[href*=#]:not([href=#])").click(function(){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){var e=$(this.hash);if(e=e.length?e:$("[name="+this.hash.slice(1)+"]"),e.length)return $("html,body").animate({scrollTop:e.offset().top},1e3),!1}})}(); \ No newline at end of file