/** * Script for welcome.ejs */ document.getElementById('welcomeButton').addEventListener('click', e => { loginOptionsViewOnLoginSuccess = VIEWS.landing loginOptionsViewOnLoginCancel = VIEWS.loginOptions switchView(VIEWS.welcome, VIEWS.loginOptions) })