Server selection view can now be opened from the landing view.
The temporary span which displayed the selected server has been changed to a button. Clicking this button will open the server selection view. The server selection view is still pending full implementation.
This commit is contained in:
@@ -2,8 +2,6 @@
|
||||
* Script for overlay.ejs
|
||||
*/
|
||||
|
||||
//document.getElementById('overlayDismiss').href = 'javascript:void(0);'
|
||||
|
||||
/* Overlay Wrapper Functions */
|
||||
|
||||
/**
|
||||
@@ -89,4 +87,11 @@ function setDismissHandler(handler){
|
||||
} else {
|
||||
document.getElementById('overlayDismiss').onclick = handler
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Server Select View */
|
||||
|
||||
// Bind server select cancel button.
|
||||
document.getElementById('serverSelectCancel').addEventListener('click', () => {
|
||||
toggleOverlay(false)
|
||||
})
|
||||
Reference in New Issue
Block a user