mirror of https://github.com/dirtbags/moth.git
Removed reloader
This commit is contained in:
parent
d18bda1caf
commit
0cfad4fe5d
|
@ -1,36 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Scoreboard</title>
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
<script src="scoreboard.js" async></script>
|
||||
<style>
|
||||
body, html {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
cursor: none;
|
||||
}
|
||||
iframe {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
var i = 0;
|
||||
function init() {
|
||||
setInterval(function(){
|
||||
window.document.getElementById('reloader').src = window.document.getElementById('reloader').src;
|
||||
},2000);
|
||||
}
|
||||
window.addEventListener("load", init);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<iframe id="reloader" src="//koth/scoreboard.html">
|
||||
<div id="scoreboard"></div>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue