diff --git a/static/js/main.js b/static/js/main.js index 4d1fca0..d776f7f 100644 --- a/static/js/main.js +++ b/static/js/main.js @@ -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() { diff --git a/templates/registration.html b/templates/registration.html index be77c7f..ac014b2 100644 --- a/templates/registration.html +++ b/templates/registration.html @@ -47,7 +47,7 @@
-

Неверный логин или пароль

+