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

This commit is contained in:
bence committed 2023-05-06 21:50:46 +02:00
1 parent 3034217ff8
commit 32733668ff
1 file changed
+6 -7
+6 -7
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();
};
}
})();