mirror of
https://github.com/dscalzi/HeliosLauncher.git
synced 2024-12-24 04:32:13 -08:00
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)
|
|
}) |