Skip to content

Commit

Permalink
hide header for additional tabs/pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Erwin Dondorp authored and erwindon committed Apr 27, 2024
1 parent d34618b commit ab1e503
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions saltgui/static/scripts/pages/Page.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ export class Page {
this.panels = [];
this.api = pRouter.api;

if (Utils.getQueryParam("popup") === "true") {
const header = document.getElementById("header");
header.style.display = "none";
}

const body = document.querySelector("body");
body.onkeyup = (keyUpEvent) => {
if (!Utils.isValidKeyUpEvent(keyUpEvent)) {
Expand Down

0 comments on commit ab1e503

Please sign in to comment.