RVRNEXT-38 do not reference authenticateWithGoogleButton whet it does not exist
All checks were successful
rvr-nextgen/pipeline/pr-master This commit looks good

This commit is contained in:
Bence Pőcze 2023-05-06 21:50:46 +02:00
parent 3034217ff8
commit 32733668ff
Signed by: bence
GPG Key ID: DC5BD6E95A333E6D

View File

@ -59,11 +59,10 @@ var Account = {
};
(function () {
document.getElementById('authenticateWithGoogleButton').onclick = function () {
Account.openGoogleAuthenticate();
};
document.getElementsByTagName('form')[0].onreset = function () {
Account.resetGoogleAuthentication();
};
var authenticateWithGoogleButton = document.getElementById('authenticateWithGoogleButton');
if (authenticateWithGoogleButton) {
authenticateWithGoogleButton.onclick = function () {
Account.openGoogleAuthenticate();
};
}
})();