From e660541b66f6f5cf2055ea259f70340693e41747 Mon Sep 17 00:00:00 2001 From: Elijah Cohen Date: Thu, 10 Mar 2022 17:36:33 -0500 Subject: [PATCH] bumped number of comics --- comics.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/comics.js b/comics.js index cef1b52..1d441af 100644 --- a/comics.js +++ b/comics.js @@ -1,5 +1,7 @@ +var NUM_COMICS = 3868 + function onload() { //imgtag = document.getElementById("image") //imgtag.src = "negative.png" @@ -10,7 +12,7 @@ function onload() { num = window.location.search.substring(window.location.search.indexOf('=')+1) - num = (num =="") ? Math.floor(Math.random()*3600) : num + num = (num =="") ? Math.floor(Math.random()*NUM_COMICS) : num setorig(num) getimageurl(num) } -- 2.39.2