mirror of
https://github.com/Llloooggg/Jarvis.git
synced 2026-03-06 03:56:23 +03:00
Переделал выпадашку, теперь это кнопка
This commit is contained in:
11
static/js/main.js
Normal file
11
static/js/main.js
Normal file
@@ -0,0 +1,11 @@
|
||||
var a = 0;
|
||||
function activeClass() {
|
||||
if (a == 0) {
|
||||
document.getElementById('dropdown').style.display = "block";
|
||||
a = 1;
|
||||
}
|
||||
else {
|
||||
document.getElementById('dropdown').style.display = "none";
|
||||
a = 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user