mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-06 13:11:15 -07:00
Add reveal button to setup wizard password field
This commit is contained in:
parent
80a836e3e0
commit
41dfd27ff7
2 changed files with 7 additions and 2 deletions
|
@ -893,7 +893,7 @@ function loadBlurHash(elem, src) {
|
|||
}
|
||||
|
||||
function _toggleRevealToken(elem, click) {
|
||||
var input = elem.parent().next('input');
|
||||
var input = elem.parent().siblings('input');
|
||||
if ((input.prop('type') === 'password' && click) || !input.val()) {
|
||||
input.prop('type', 'text');
|
||||
elem.children('.fa').removeClass('fa-eye-slash').addClass('fa-eye');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue