home
/
projects
/
comics
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b444d1d
)
bumped number of comics
master
author
Elijah Cohen
<eli@eli173.com>
Thu, 10 Mar 2022 22:36:33 +0000
(17:36 -0500)
committer
Elijah Cohen
<eli@eli173.com>
Thu, 10 Mar 2022 22:36:33 +0000
(17:36 -0500)
comics.js
patch
|
blob
|
history
diff --git
a/comics.js
b/comics.js
index cef1b529cab4102a2ea2e47f1f25c44b80fb2428..1d441afe51a971a0b766a21714d601635a142c7f 100644
(file)
--- a/
comics.js
+++ b/
comics.js
@@
-1,5
+1,7
@@
+var NUM_COMICS = 3868
+
function onload() {
//imgtag = document.getElementById("image")
//imgtag.src = "negative.png"
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 = 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)
}
setorig(num)
getimageurl(num)
}