changed alerts to the logging

This commit is contained in:
buzz-lightsnack-2007 2024-04-15 15:42:50 +08:00
parent 35e208b61d
commit 527d7b6835
7 changed files with 24 additions and 24 deletions

View file

@ -5,10 +5,10 @@
// Import modules.
//import { windowman } from "../windowman.js";
async function build() {
let secretariat = await import(chrome.runtime.getURL("scripts/secretariat.js"));
let windowman = (await import(chrome.runtime.getURL("/scripts/GUI/windowman.js"))).default;
import {forget} from "/scripts/secretariat.js";
import windowman from "/scripts/GUI/windowman.js";
async function build() {
let window = new windowman();
window.sync();
@ -97,12 +97,11 @@ function events(window) {
document
.querySelector(`[data-action="storage,clear"]`)
.addEventListener(`click`, async () => {
secretariat.forget(`sites`);
forget(`sites`);
});
}
}
//main();
function load() {
build();