mirror of
https://github.com/anatolykopyl/status.git
synced 2026-03-26 12:54:46 +00:00
Новый дизайн
This commit is contained in:
13
main.js
Normal file
13
main.js
Normal file
@@ -0,0 +1,13 @@
|
||||
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 = "Что это?";
|
||||
document.getElementById("hint-link").style.color = "#dddddd";
|
||||
} else {
|
||||
document.getElementById("hint-div").style.display = "block";
|
||||
document.getElementById("hint-link").innerHTML = "Понял";
|
||||
document.getElementById("hint-link").style.color = "black";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user