mirror of
https://github.com/Llloooggg/Jarvis.git
synced 2026-03-06 12:06:23 +03:00
Исправил баг с подсветкой поля Войти
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
var a = 0;
|
||||
// orange = "#c77814";
|
||||
// gray ="#b9b9b9";
|
||||
|
||||
function activeClass() {
|
||||
if (a == 0) {
|
||||
document.getElementById('dropdown').style.display = "block";
|
||||
@@ -10,6 +13,13 @@ function activeClass() {
|
||||
}
|
||||
}
|
||||
|
||||
document.addEventListener('click', function(e) {
|
||||
if (e.target.className === 'contacts__schedule') {
|
||||
e.target.style.color = e.target.style.color === 'gray' ? 'orange' : 'gray';
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
$(function() {
|
||||
|
||||
Reference in New Issue
Block a user