1
0
mirror of https://github.com/dscalzi/HeliosLauncher.git synced 2025-01-11 05:22:13 -08:00
HeliosLauncher/app/assets/js/scripts/welcome.js
2022-02-11 19:51:28 -05:00

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)
})