{"version":3,"names":[],"mappings":"","sources":["login.js"],"sourcesContent":["$(document).ready(function () {\r\n // Focus on either the mobile or the verification code input field when logging in.\r\n if ($('#VerificationCode_Code').length)\r\n $('#VerificationCode_Code').focus();\r\n else\r\n $('#Mobile').focus();\r\n\r\n $(\"#btnResendCode\").click(function () {\r\n var serviceUrl = \"/Umbraco/Api/AccountApi/ResendMobileVerificationCode?phoneNumber=\" + $(\"#Mobile\").val();\r\n\r\n var request = $.ajax({\r\n url: serviceUrl,\r\n type: \"GET\",\r\n });\r\n\r\n request.done(function (data) {\r\n $(\"#verifyMobileResendMessage\").show();\r\n $(\"#verifyMobileResendMessage\").html(\"Kode sendt på nytt til \" + data);\r\n\r\n setTimeout(function () {\r\n $('#verifyMobileResendMessage').hide();\r\n }, 5000);\r\n });\r\n });\r\n});"],"file":"login.js"}