mirror of
https://github.com/anatolykopyl/status.git
synced 2026-03-26 12:54:46 +00:00
Обновил айди статусов
This commit is contained in:
9
main.js
9
main.js
@@ -1,6 +1,4 @@
|
||||
function showHint() {
|
||||
console.log(document.getElementById("hint-div").style.display);
|
||||
|
||||
if (document.getElementById("hint-div").style.display == "block") {
|
||||
document.getElementById("hint-div").style.display = "none";
|
||||
document.getElementById("hint-link").innerHTML = "Что это?";
|
||||
@@ -10,4 +8,11 @@ function showHint() {
|
||||
document.getElementById("hint-link").innerHTML = "Понял";
|
||||
document.getElementById("hint-link").style.color = "black";
|
||||
}
|
||||
}
|
||||
|
||||
var xhttp = new XMLHttpRequest();
|
||||
|
||||
function send() {
|
||||
xhttp.open("GET", "http://status.anatolykopyl.ru:5001/update", true);
|
||||
xhttp.send();
|
||||
}
|
||||
Reference in New Issue
Block a user