aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkshay <[email protected]>2020-01-27 05:46:06 +0000
committerAkshay <[email protected]>2020-01-27 05:46:06 +0000
commitab6d72b78ef4ecb77715217b04aed09c0342a684 (patch)
tree09360775663c74ac25a7e2f8c698480d2ad6555d
parenta5662df141f440af398923264ae43faf9019b357 (diff)
remote js
-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}