diff options
Diffstat (limited to 'data/script.js')
| -rw-r--r-- | data/script.js | 15 |
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 @@ | |||
| 1 | document.getElementById("button-previous-s").onclick = function() { | ||
| 2 | fetch("/previouss"); | ||
| 3 | } | ||
| 4 | |||
| 5 | document.getElementById("button-previous").onclick = function() { | ||
| 6 | fetch("/previous"); | ||
| 7 | } | ||
| 8 | |||
| 9 | document.getElementById("button-next").onclick = function() { | ||
| 10 | fetch("/next"); | ||
| 11 | } | ||
| 12 | |||
| 13 | document.getElementById("button-next-s").onclick = function() { | ||
| 14 | fetch("/nexts"); | ||
| 15 | } | ||
