mirror of
https://github.com/pi-hole/web.git
synced 2026-04-28 12:44:07 +01:00
Switch to Font Awesome CSS
It's lighter than the JS Signed-off-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
@@ -134,7 +134,7 @@ $("#totp").on("input", function () {
|
||||
// Toggle password visibility button
|
||||
$("#toggle-password").on("click", function () {
|
||||
// Toggle font-awesome classes to change the svg icon on the button
|
||||
$("svg", this).toggleClass("fa-eye fa-eye-slash");
|
||||
$(".field-icon", this).toggleClass("fa-eye fa-eye-slash");
|
||||
|
||||
// Password field
|
||||
var $pwd = $("#current-password");
|
||||
|
||||
Reference in New Issue
Block a user