Compare commits
2 Commits
5613c1a82c
...
40fc554954
| Author | SHA1 | Date | |
|---|---|---|---|
| 40fc554954 | |||
| 94dc08ee8d |
@ -1,3 +1,7 @@
|
|||||||
|
<?php
|
||||||
|
header("Cache-Control: no-cache, no-store, must-revalidate");
|
||||||
|
?>
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
@ -13,9 +17,6 @@ function get_color_from_ip($ip) {
|
|||||||
return $css;
|
return $css;
|
||||||
}
|
}
|
||||||
|
|
||||||
//header("refresh: 28");
|
|
||||||
header("Cache-Control: no-cache, no-store, must-revalidate");
|
|
||||||
|
|
||||||
if (!is_dir("data")) {
|
if (!is_dir("data")) {
|
||||||
// initialize everything
|
// initialize everything
|
||||||
mkdir("data", 0755);
|
mkdir("data", 0755);
|
||||||
|
|||||||
4
owe.js
4
owe.js
@ -31,8 +31,8 @@ function loadSentences(alertIfNew = false, increaseUnread = true) {
|
|||||||
|
|
||||||
// color
|
// color
|
||||||
var spans = document.querySelector(".sentences").getElementsByTagName("span");
|
var spans = document.querySelector(".sentences").getElementsByTagName("span");
|
||||||
// we expect this to be from the user who's turn it is now (3 users)
|
// we expect this to be from the user who's turn it is now
|
||||||
var histurnspan = spans[spans.length - 3];
|
var histurnspan = spans[spans.length - config_data.users.length];
|
||||||
//console.log(histurnspan.getAttribute("style"));
|
//console.log(histurnspan.getAttribute("style"));
|
||||||
document.getElementById("wordinput").setAttribute("style", histurnspan.getAttribute("style"));
|
document.getElementById("wordinput").setAttribute("style", histurnspan.getAttribute("style"));
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user