9 lines
337 B
JavaScript
9 lines
337 B
JavaScript
/**
|
|
* Script for welcome.ejs
|
|
*/
|
|
document.getElementById('welcomeButton').addEventListener('click', e => {
|
|
loginOptionsCancelEnabled(false) // False by default, be explicit.
|
|
loginOptionsViewOnLoginSuccess = VIEWS.landing
|
|
loginOptionsViewOnLoginCancel = VIEWS.loginOptions
|
|
switchView(VIEWS.welcome, VIEWS.loginOptions)
|
|
}) |