From 316a202c8fc9c6383521221b665762e40d7045bd Mon Sep 17 00:00:00 2001 From: vadym Date: Tue, 13 Dec 2022 22:37:24 +0200 Subject: [PATCH] reverced eye icon state --- contrib/ui/mesh-ui/ui/index.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/contrib/ui/mesh-ui/ui/index.html b/contrib/ui/mesh-ui/ui/index.html index 1da3059b..1cc6d5c7 100755 --- a/contrib/ui/mesh-ui/ui/index.html +++ b/contrib/ui/mesh-ui/ui/index.html @@ -237,13 +237,13 @@ } function togglePrivKeyVisibility() { - if (this.classList.contains("fa-eye-slash")) { - this.classList.remove("fa-eye-slash"); - this.classList.add("fa-eye"); - document.getElementById("priv_key_visible").innerHTML = document.getElementById("priv_key").innerHTML; - } else { + if (this.classList.contains("fa-eye")) { this.classList.remove("fa-eye"); this.classList.add("fa-eye-slash"); + document.getElementById("priv_key_visible").innerHTML = document.getElementById("priv_key").innerHTML; + } else { + this.classList.remove("fa-eye-slash"); + this.classList.add("fa-eye"); document.getElementById("priv_key_visible").innerHTML = "••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••"; } } @@ -459,7 +459,7 @@
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
- +