Updated game
This commit is contained in:
1 parent
6a56e5a921
commit
f924016478
7 files changed
+180
-65
No files matched your search
+9
-14
@@ -304,20 +304,15 @@ document.addEventListener("DOMContentLoaded", function() {
|
||||
});
|
||||
|
||||
websocket_connection.on("elimination_verification_requested", function() {
|
||||
const modal_element = document.getElementById("verification-modal");
|
||||
if (modal_element) {
|
||||
modal_element.classList.add("active-modal");
|
||||
} else {
|
||||
fetch(window.location.href)
|
||||
.then(function(network_response) { return network_response.text(); })
|
||||
.then(function(markup_text) {
|
||||
replace_main_content(markup_text);
|
||||
const new_modal_element = document.getElementById("verification-modal");
|
||||
if (new_modal_element) {
|
||||
new_modal_element.classList.add("active-modal");
|
||||
}
|
||||
});
|
||||
}
|
||||
fetch(window.location.href)
|
||||
.then(function(network_response) { return network_response.text(); })
|
||||
.then(function(markup_text) {
|
||||
replace_main_content(markup_text);
|
||||
const new_modal_element = document.getElementById("verification-modal");
|
||||
if (new_modal_element) {
|
||||
new_modal_element.classList.add("active-modal");
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
websocket_connection.on("elimination_rejected", function() {
|
||||
|
||||
@@ -39,6 +39,9 @@
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
--lightness-primary: 0.65;
|
||||
--chroma-primary: 0.20;
|
||||
|
||||
--lightness-background: 0.2;
|
||||
--chroma-background: 0.02;
|
||||
|
||||
@@ -47,9 +50,6 @@
|
||||
|
||||
--lightness-text: 0.90;
|
||||
--chroma-text: 0.02;
|
||||
|
||||
--lightness-primary: 0.65;
|
||||
--chroma-primary: 0.20;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user