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