summaryrefslogtreecommitdiffstats
path: root/data/script.js
diff options
context:
space:
mode:
Diffstat (limited to 'data/script.js')
-rw-r--r--data/script.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/data/script.js b/data/script.js
new file mode 100644
index 0000000..0f3101f
--- /dev/null
+++ b/data/script.js
@@ -0,0 +1,15 @@
1document.getElementById("button-previous-s").onclick = function() {
2 fetch("/previouss");
3}
4
5document.getElementById("button-previous").onclick = function() {
6 fetch("/previous");
7}
8
9document.getElementById("button-next").onclick = function() {
10 fetch("/next");
11}
12
13document.getElementById("button-next-s").onclick = function() {
14 fetch("/nexts");
15}