diff --git a/complete.html b/complete.html index 26f470e..5d20ee3 100644 --- a/complete.html +++ b/complete.html @@ -6,8 +6,14 @@
- - +${file}
in ${repoName}
!`);
$("#repo").attr("href", `/repo.html#${repo}`);
+
+$("#back").click(() => {
+ window.location.href = `/type.html#${hash}`;
+});
diff --git a/js/repo.js b/js/repo.js
index dc68d5b..88ed59e 100644
--- a/js/repo.js
+++ b/js/repo.js
@@ -23,3 +23,7 @@ $("#form").submit((event) => {
let file = $("#file").val();
window.location.href = `/type.html#${repo}/${file}`;
});
+
+$("#back").click(() => {
+ window.location.href = "/";
+});
diff --git a/repo.html b/repo.html
index f194df2..a528a59 100644
--- a/repo.html
+++ b/repo.html
@@ -6,27 +6,33 @@
-
-
-
-
-