mirror of
https://github.com/Llloooggg/Jarvis.git
synced 2026-03-06 03:56: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() {
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
<div class="drop-block">
|
||||
<form action="/login" method="POST">
|
||||
<div class="triangle"></div>
|
||||
<p class="red_text" id="1">Неверный логин или пароль</p>
|
||||
<!-- <p class="red_text" id="1">Неверный логин или пароль</p> -->
|
||||
<label class="form__cell-header ">
|
||||
<input class="form__input-text-mod" name="LogUserLogin" placeholder="Логин"
|
||||
type="text">
|
||||
|
||||
Reference in New Issue
Block a user