Further organization of the browser scripts.

Moved server selection styles to launcher.css, as they are nearly finished.
Moved overlay convenience functions to overlay.js.
Moved launch area (landing.ejs) convenience functions to landing.js.
Various cleanups and documentation also added.
This commit is contained in:
Daniel Scalzi
2018-04-25 20:11:10 -04:00
parent 92d8a5e254
commit 2f66d44824
8 changed files with 344 additions and 302 deletions

View File

@@ -1,7 +1,7 @@
// DOM cache.
const welcomeButton = document.getElementById('welcomeButton')
welcomeButton.addEventListener('click', e => {
/**
* Script for welcome.ejs
*/
document.getElementById('welcomeButton').addEventListener('click', e => {
$('#welcomeContainer').fadeOut(500, () => {
$('#loginContainer').fadeIn(500)
})