diff --git a/_layouts/default.html b/_layouts/default.html index d876812..ff80e33 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -145,10 +145,10 @@ Others: About us Contact us --> -
About Us
-
Intro to Judaism
-
Humanism
-
Jewish Culture & History
+
About Us
+
Intro to Judaism
+
Humanism
+
Jewish Culture & History
@@ -156,8 +156,8 @@ @kosheriraq1
@kosherwales
-
Membership
-
Contact Us
+
Membership
+
Contact Us
diff --git a/main.js b/main.js index 1a6059e..1986276 100644 --- a/main.js +++ b/main.js @@ -1,5 +1,13 @@ var startX = 0; +if (window.location.hash == "#TCAS_sc1") { + document.getElementById("outer").scrollTo({ + top: document.getElementById("content").getBoundingClientRect().top, + left: 0, + behavior: "smooth" + }); +} + window.ontouchstart = (evt) => { startX = evt.touches[0].clientX; }