Fix slideshow

Signed-off-by: James Ketrenos <james_git@ketrenos.com>
This commit is contained in:
James Ketr 2019-11-27 22:26:43 -08:00
parent d2d0cf837b
commit 736f073e1d

View File

@ -1,6 +1,6 @@
<html>
<script src="src/ketr-photos/fetch.js"></script>
<base href="/photos/">
<base href="/">
<body>
<style>
body {
@ -35,8 +35,10 @@ body {
padding: 0.5em 1em;
background-color: #444;
color: white;
font-size: 1em;
line-height: 1em;
font-size: 1.5em;
line-height: 1.5em;
font-family: Arial;
box-shadow: 0px -0.25em 1em black;
}
</style>
<img id="placeholder"></img>
@ -82,7 +84,7 @@ function schedule() {
scheduled = setTimeout(function () {
scheduled = undefined;
nextPhoto();
}, 3 * 1000);
}, 15 * 1000);
}
document.addEventListener("DOMContentLoaded", function() {