Added support for drop-in mods on the UI.

This commit is contained in:
Daniel Scalzi
2018-08-07 04:16:15 -04:00
parent ff3f2bfb8d
commit 556199aa55
5 changed files with 296 additions and 18 deletions

View File

@@ -4,6 +4,15 @@
/* Overlay Wrapper Functions */
/**
* Check to see if the overlay is visible.
*
* @returns {boolean} Whether or not the overlay is visible.
*/
function isOverlayVisible(){
return document.getElementById('main').hasAttribute('overlay');
}
/**
* Toggle the visibility of the overlay.
*