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