mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 10:58:20 -07:00
missing space in userpasswordpage.js
This commit is contained in:
parent
cba0968358
commit
5ef8a2e1cc
@ -37,7 +37,7 @@ define(["loading", "libraryMenu", "emby-linkbutton"], function(loading, libraryM
|
|||||||
var userId = params.userId,
|
var userId = params.userId,
|
||||||
currentPassword = view.querySelector("#txtCurrentPassword").value,
|
currentPassword = view.querySelector("#txtCurrentPassword").value,
|
||||||
newPassword = view.querySelector("#txtNewPassword").value;
|
newPassword = view.querySelector("#txtNewPassword").value;
|
||||||
if(view.querySelector("#fldCurrentPassword").classList.contains("hide")) {
|
if (view.querySelector("#fldCurrentPassword").classList.contains("hide")) {
|
||||||
// Firefox does not respect autocomplete=off, so clear it if the field is supposed to be hidden (and blank)
|
// Firefox does not respect autocomplete=off, so clear it if the field is supposed to be hidden (and blank)
|
||||||
// This should only happen when user.HasConfiguredPassword is false, but this information is not passed on
|
// This should only happen when user.HasConfiguredPassword is false, but this information is not passed on
|
||||||
currentPassword = "";
|
currentPassword = "";
|
||||||
|
Loading…
Reference in New Issue
Block a user