mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
Apply suggestions from code review
Co-Authored-By: LogicalPhallacy <44458166+LogicalPhallacy@users.noreply.github.com>
This commit is contained in:
parent
e01feca025
commit
6c3814f014
@ -29,7 +29,7 @@ define(["jQuery", "loading", "libraryMenu", "fnchecked"], function($, loading, l
|
|||||||
}
|
}
|
||||||
var currentProviderId = user.Policy.PasswordResetProviderId;
|
var currentProviderId = user.Policy.PasswordResetProviderId;
|
||||||
page.querySelector(".selectPasswordResetProvider").innerHTML = providers.map(function(provider) {
|
page.querySelector(".selectPasswordResetProvider").innerHTML = providers.map(function(provider) {
|
||||||
var selected = provider.Id === currentProviderId || providers.length < 2 ? " selected" : "";
|
var selected = (provider.Id === currentProviderId || providers.length < 2) ? " selected" : "";
|
||||||
return '<option value="' + provider.Id + '"' + selected + ">" + provider.Name + "</option>"
|
return '<option value="' + provider.Id + '"' + selected + ">" + provider.Name + "</option>"
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -964,7 +964,7 @@
|
|||||||
"MessageNoServersAvailableToConnect": "No servers are available to connect to. If you've been invited to share a server, make sure to accept it below or by clicking the link in the email.",
|
"MessageNoServersAvailableToConnect": "No servers are available to connect to. If you've been invited to share a server, make sure to accept it below or by clicking the link in the email.",
|
||||||
"MessageNoTrailersFound": "No trailers found. Install the Trailer channel to enhance your movie experience by adding a library of internet trailers.",
|
"MessageNoTrailersFound": "No trailers found. Install the Trailer channel to enhance your movie experience by adding a library of internet trailers.",
|
||||||
"MessageNothingHere": "Nothing here.",
|
"MessageNothingHere": "Nothing here.",
|
||||||
"MessagePasswordResetForUsers": "The following users have had their passwords reset. They can now sign in with the PIN code that was used this reset.",
|
"MessagePasswordResetForUsers": "The following users have had their passwords reset. They can now sign in with the PIN codes that were used to perform the reset.",
|
||||||
"MessagePlayAccessRestricted": "Playback of this content is currently restricted. Please contact your Jellyfin Server administrator for more information.",
|
"MessagePlayAccessRestricted": "Playback of this content is currently restricted. Please contact your Jellyfin Server administrator for more information.",
|
||||||
"MessagePleaseEnsureInternetMetadata": "Please ensure downloading of internet metadata is enabled.",
|
"MessagePleaseEnsureInternetMetadata": "Please ensure downloading of internet metadata is enabled.",
|
||||||
"MessagePleaseWait": "Please wait. This may take a minute.",
|
"MessagePleaseWait": "Please wait. This may take a minute.",
|
||||||
|
Loading…
Reference in New Issue
Block a user