From 09da1a410f95fcbfdb929d60233c6178f22859cd Mon Sep 17 00:00:00 2001 From: Angelos Chalaris Date: Sat, 29 Sep 2018 09:38:26 +0300 Subject: [PATCH] Temp fix for an issue with social links --- static-parts/page-start.html | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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')) {