From ecdb1505e2db569b875efea9b4a2be22a729716a Mon Sep 17 00:00:00 2001 From: ansuz Date: Fri, 30 Aug 2019 16:09:38 +0200 Subject: [PATCH] lint compliance --- www/register/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/register/main.js b/www/register/main.js index 4931efa3b..63324f810 100644 --- a/www/register/main.js +++ b/www/register/main.js @@ -65,7 +65,7 @@ define([ var doesAccept = $checkAcceptTerms[0].checked; if (Cred.isEmail(uname) && !I_REALLY_WANT_TO_USE_MY_EMAIL_FOR_MY_USERNAME) { - var warning = [ + var emailWarning = [ Messages.register_emailWarning0, Messages.register_emailWarning1, Messages.register_emailWarning2, @@ -74,7 +74,7 @@ define([ Feedback.send("EMAIL_USERNAME_WARNING", true); - return void UI.confirm(warning, function (yes) { + return void UI.confirm(emailWarning, function (yes) { if (!yes) { return; } I_REALLY_WANT_TO_USE_MY_EMAIL_FOR_MY_USERNAME = true; registerClick();