From ce956ec9e430e0b256348aa52d84e447e3f70c7e Mon Sep 17 00:00:00 2001 From: Squirrel-314 Date: Thu, 14 Jan 2021 18:08:14 -0500 Subject: [PATCH] Actually Fixed Buttons! --- index.html | 13 +++++++++++-- main.js | 11 +++++++++-- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index f6a56dc..6d48807 100644 --- a/index.html +++ b/index.html @@ -28,8 +28,17 @@
- -

Vegetable Dash!

+
+
+ +

Vegetable Dash!

+
+ +
+
+

+

COMING SOON!

+
diff --git a/main.js b/main.js index 0fbee2f..e878174 100644 --- a/main.js +++ b/main.js @@ -5,14 +5,21 @@ if (window.location.href != "https://meetsquirrel.github.io" || "https://meetsqu } function next() { - if (window.location.href == "https://meetsquirrel.github.io/index.html#vegetable-dash") { + if (window.location.href == "https://meetsquirrel.github.io/index.html" || "file:///D:/Documents/GitHub/meetsquirrel.github.io/index.html#meet") { document.location = "#vegetable-dash"; } + if (window.location.href == "https://meetsquirrel.github.io/index.html#vegetable-dash") { + document.location = "#coming-soon"; + } } function last() { - if (window.location.href == "https://meetsquirrel.github.io/index.html#vegetable-dash" || "file:///D:/Documents/GitHub/meetsquirrel.github.io/index.html#vegetable-dash") { + if (window.location.href == "https://meetsquirrel.github.io/index.html#vegetable-dash") { document.location = "#meet"; backButton.style.opacity = "0"; } + if (window.location.href == "https://meetsquirrel.github.io/index.html#coming-soon") { + document.location = "#vegetable-dash"; + } } +coming-soon