src/app/www/js/functions.js
/**
 * Hides all options menu children except for the one with the id passed as
 * parameter. If childId is not set, it will hide all '#options-menu' elements.
 * @param {String} [childId]
 */
Hides all options menu children except for the one with the id passed as
parameter. If childId is not set, it will hide all '#options-menu' elements.
@param {String} [childId]
Hides all options menu children except for the one with the id passed as parameter . If childId is not set it will hide all ' #options - menu ' elements . @param { String } [ childId ]
function hideOtherOptions(childId=null) {
    Array.from(ID("options-menu").children).forEach(
        child => {
            if(child.id != childId) {
                child.style.display = "none";
            }
            else {
                child.style.display = "unset";
            }
        }
    );
}
function hideOtherOptions ( childId = null ) { Array . from ( ID ( "options-menu" ) . children ) . forEach ( child => { if ( child . id != childId ) { child . style . display = "none" ; } else { child . style . display = "unset" ; } } ) ; }
Hides all options menu children except for the one with the id passed as
 parameter.
Hides all options menu children except for the one with the id passed as parameter .