-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.js
More file actions
1 lines (1 loc) · 1.42 KB
/
main.js
File metadata and controls
1 lines (1 loc) · 1.42 KB
1
!function(){$(document).ready(function(){var t=$("#email");t.attr("href","mailto:robert.wise@outlook.com")})}(),function(){$(document).ready(function(){var t,e="fade",n="fast",i="swing",a=$(".external-profile-link"),o=function(){var t=$(this).next(".external-profile-link-text");$(t).removeClass("is-hidden").animate(e,n,i)};$(a).on("mouseenter",function(){if($(window).width()>1200){var e=this;t=window.setTimeout(o.bind(e),250)}}),$(a).on("mouseleave",function(){window.clearTimeout(t);var a=$(this).next(".external-profile-link-text");$(a).addClass("is-hidden").animate(e,n,i)})})}(),function(){$(document).ready(function(){var t=window.location.hostname,e=new RegExp("^((((http:\\/\\/|https:\\/\\/)(www\\.)?)?"+t+")|(localhost:\\d{4})|(\\/.*))(\\/.*)?$","");$("a").filter(function(){var t=$(this).attr("href");return!e.test(t)}).each(function(){$(this).attr("target","_blank")})})}(),function(t){var e,n={kitId:"ovl2hpu",scriptTimeout:3e3,async:!0,events:!1,classes:!1},i=t.documentElement,a=setTimeout(function(){i.className=i.className.replace(/\bwf-loading\b/g,"")+" wf-inactive"},n.scriptTimeout),o=t.createElement("script"),r=!1,s=t.getElementsByTagName("script")[0];i.className+=" wf-loading",o.src="//use.typekit.net/"+n.kitId+".js",o.async=!0,o.onload=o.onreadystatechange=function(){if(e=this.readyState,!(r||e&&"complete"!=e&&"loaded"!=e)){r=!0,clearTimeout(a);try{Typekit.load(n)}catch(t){}}},s.parentNode.insertBefore(o,s)}(document);