1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

modify necessary void replacements

This commit is contained in:
sancodes 2022-03-21 20:50:19 -07:00
parent 87f47d8001
commit 408f2b2bda
11 changed files with 33 additions and 30 deletions

View file

@ -5,14 +5,14 @@ import Dashboard from '../../../scripts/clientUtils';
function processForgotPasswordResult(result) {
if (result.Action == 'ContactAdmin') {
return void Dashboard.alert({
return Dashboard.alert({
message: globalize.translate('MessageContactAdminToResetPassword'),
title: globalize.translate('ButtonForgotPassword')
});
}
if (result.Action == 'InNetworkRequired') {
return void Dashboard.alert({
return Dashboard.alert({
message: globalize.translate('MessageForgotPasswordInNetworkRequired'),
title: globalize.translate('ButtonForgotPassword')
});
@ -26,7 +26,7 @@ import Dashboard from '../../../scripts/clientUtils';
msg += '<br/>';
msg += result.PinFile;
msg += '<br/>';
return void Dashboard.alert({
return Dashboard.alert({
message: msg,
title: globalize.translate('ButtonForgotPassword'),
callback: function () {