diff --git a/static-parts/page-start.html b/static-parts/page-start.html index d8807f529..12f31c38c 100644 --- a/static-parts/page-start.html +++ b/static-parts/page-start.html @@ -78,16 +78,13 @@ } else if (event.target.classList.contains('social')){ if (event.target.classList.contains('fb')){ - setTimeout(function () { window.location = "https://www.facebook.com/30secondsofcode"; }, 25); - window.location = "fb://30secondsofcode"; + window.location = "https://www.facebook.com/30secondsofcode"; } else if (event.target.classList.contains('instagram')) { - setTimeout(function () { window.location = "https://www.instagram.com/30secondsofcode"; }, 25); - window.location = "instagram://30secondsofcode"; + window.location = "https://www.instagram.com/30secondsofcode"; } else if (event.target.classList.contains('twitter')) { - setTimeout(function () { window.location = "https://twitter.com/30secondsofcode"; }, 25); - window.location = "twitter://30secondsofcode"; + window.location = "https://twitter.com/30secondsofcode"; } } else if (event.target.classList.contains('copy-button')) {