diff --git a/docs/adapter.html b/docs/adapter.html
index 0e9664f5f..68af67f75 100644
--- a/docs/adapter.html
+++ b/docs/adapter.html
@@ -62,16 +62,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')) {
diff --git a/docs/browser.html b/docs/browser.html
index b5bc747e4..d90435991 100644
--- a/docs/browser.html
+++ b/docs/browser.html
@@ -62,16 +62,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')) {
diff --git a/docs/date.html b/docs/date.html
index 173978ccd..5700c9750 100644
--- a/docs/date.html
+++ b/docs/date.html
@@ -62,16 +62,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')) {
diff --git a/docs/function.html b/docs/function.html
index 883386b21..6df7294b0 100644
--- a/docs/function.html
+++ b/docs/function.html
@@ -62,16 +62,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')) {
diff --git a/docs/index.html b/docs/index.html
index d265627fe..cbb6e6638 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -62,16 +62,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')) {
diff --git a/docs/math.html b/docs/math.html
index 4fe3066b0..fb4d85cc9 100644
--- a/docs/math.html
+++ b/docs/math.html
@@ -62,16 +62,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')) {
diff --git a/docs/node.html b/docs/node.html
index f52809d93..c7fcd96f7 100644
--- a/docs/node.html
+++ b/docs/node.html
@@ -62,16 +62,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')) {
diff --git a/docs/object.html b/docs/object.html
index a4c897835..ca173bd3e 100644
--- a/docs/object.html
+++ b/docs/object.html
@@ -62,16 +62,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')) {
diff --git a/docs/string.html b/docs/string.html
index fbc7e7def..878658c1b 100644
--- a/docs/string.html
+++ b/docs/string.html
@@ -62,16 +62,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')) {
diff --git a/docs/type.html b/docs/type.html
index c2b0a4d93..bc8efacea 100644
--- a/docs/type.html
+++ b/docs/type.html
@@ -62,16 +62,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')) {
diff --git a/docs/utility.html b/docs/utility.html
index 492e62ec6..7b8b6ea88 100644
--- a/docs/utility.html
+++ b/docs/utility.html
@@ -62,16 +62,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')) {