aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--script/gotoId.js6
-rw-r--r--script/showPost.js8
2 files changed, 0 insertions, 14 deletions
diff --git a/script/gotoId.js b/script/gotoId.js
deleted file mode 100644
index 991bf1d..0000000
--- a/script/gotoId.js
+++ /dev/null
@@ -1,6 +0,0 @@
1function gotoId() {
2 if ( window.location.hash ) {
3 let hash = window.location.hash.substring(1);
4 showPost(hash);
5 }
6}
diff --git a/script/showPost.js b/script/showPost.js
deleted file mode 100644
index 75ffa1c..0000000
--- a/script/showPost.js
+++ /dev/null
@@ -1,8 +0,0 @@
1function showPost(id) {
2 let post = document.getElementById(id);
3 if (post.style.display == "none") {
4 post.style.display = "block";
5 } else {
6 post.style.display = "none";
7 }
8}