From 28efa1d5030e24c3fbe1d552777459460213b845 Mon Sep 17 00:00:00 2001 From: buzz-lightsnack-2007 <73412182+buzz-lightsnack-2007@users.noreply.github.com> Date: Thu, 2 May 2024 11:45:34 +0800 Subject: [PATCH] revert to using tabs for opening --- scripts/GUI/builder/windowman.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/GUI/builder/windowman.js b/scripts/GUI/builder/windowman.js index eef4a04..5027f5c 100644 --- a/scripts/GUI/builder/windowman.js +++ b/scripts/GUI/builder/windowman.js @@ -4,6 +4,7 @@ Window and window content management */ import texts from "../../mapping/read.js"; import net from "/scripts/utils/net.js"; import Window from "../window.js"; +import Tabs from "/scripts/GUI/tabs.js"; import logging from '/scripts/logging.js'; import {global, observe} from "/scripts/secretariat.js"; @@ -210,7 +211,7 @@ export default class windowman { new logging((new texts(`page_opening`)).localized, target[`path`]); // Open the window as a popup. - new Window(target[`path`], Object.assign(target[`dimensions`], {"type": "popup"})); + Tabs.create(target[`path`]); }; button.addEventListener("click", event);