/* This code waits for the viewer to load with the search panel open, then it closes the search 'companion window' leaving the search icon visible. This combo is not available in the configs */ jQuery(window).on("load", function() { jQuery(".mirador31").css({ "display": "none", "transform": "translateX(0px)", "visibility": "hidden" }); jQuery("button.mirador34").attr({ "aria-expanded": "false", "aria-label": "Expand sidebar", "title": "Expand sidebar" }); jQuery("button.MuiButtonBase-root.MuiTab-root.mirador26 svg").css({ "font-size": "2.7em", "margin-top": "21px" }); jQuery(".mirador34").click(); console.log("window loaded, mirador-mods applied"); });