src/main/resources/static/js/viewController.js
/**
 * - ONLY WINDOW RESTAURANTE HOME
 * @param {MediaQueryList} media 
 */
- ONLY WINDOW RESTAURANTE HOME
@param {MediaQueryList} media
- ONLY WINDOW RESTAURANTE HOME @param { MediaQueryList } media
function checkWidthWindow(media)
{
    if(!media.matches)
    {
        document.getElementById("tab-default-open").click();
    }
    else
    {
        document.getElementById("painel-adm").style.display = "block";
        document.getElementById("pedidos").style.display = "block";
    }
}
function checkWidthWindow ( media ) { if ( ! media . matches ) { document . getElementById ( "tab-default-open" ) . click ( ) ; } else { document . getElementById ( "painel-adm" ) . style . display = "block" ; document . getElementById ( "pedidos" ) . style . display = "block" ; } }
- ONLY WINDOW RESTAURANTE HOME
 @param {MediaQueryList} media
- ONLY WINDOW RESTAURANTE HOME @param { MediaQueryList } media
// OPEN DEFAULT TAB