set the window type as popup

This commit is contained in:
buzz-lightsnack-2007 2024-04-28 21:13:51 +08:00
parent 8627a572a4
commit 910cd1f16f
2 changed files with 6 additions and 10 deletions

View file

@ -1,9 +1,8 @@
import Window from "/scripts/GUI/window.js";
import BrowserIcon from '/scripts/GUI/extensionIcon.js';
export default class ManagedWindow {
constructor () {
this.instance = new Window("/pages/popup.htm", null, {"width": "120", "height": "200", "hidden": true});
this.instance = new Window("/pages/popup.htm", {"width": "120", "height": "200", "type": "popup", "hidden": true});
}
/*