// MAIN $(document).ready(function() { let message = get_cookie("showMessage"); if ( message !== undefined && message.trim().length > 0 ){ showMessage( message, "warning" ); set_cookie("showMessage", "", 0, "/"); } $("#header #hivemaintenance_mode").hide(); });