From: Elijah Cohen Date: Thu, 10 Mar 2022 22:36:33 +0000 (-0500) Subject: bumped number of comics X-Git-Url: https://git.eli173.com/?a=commitdiff_plain;ds=inline;p=comics bumped number of comics --- 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) }