From 6cf97c803e2e007d43eaff4177dd3d85e9e94fb5 Mon Sep 17 00:00:00 2001 From: buzz-lightsnack-2007 <73412182+buzz-lightsnack-2007@users.noreply.github.com> Date: Sun, 12 May 2024 20:18:39 +0800 Subject: [PATCH] include popup HTML CSS requirements --- pages/popup/load.htm | 21 ++++++++++----------- scripts/pages/popup.js | 3 +-- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/pages/popup/load.htm b/pages/popup/load.htm index 28396c0..70dd85f 100644 --- a/pages/popup/load.htm +++ b/pages/popup/load.htm @@ -1,13 +1,12 @@ - - - - - - - -
-
-
- + + + + + + +
+
+
+ \ No newline at end of file diff --git a/scripts/pages/popup.js b/scripts/pages/popup.js index 8a973cd..e8662cf 100644 --- a/scripts/pages/popup.js +++ b/scripts/pages/popup.js @@ -12,7 +12,7 @@ import logging from "/scripts/logging.js"; class Page_Popup extends Page { constructor() { - super(); + super({"headers": {"CSS": [`/styles/popup.css`]}}); this.content(); this.background(); this.events(); @@ -23,7 +23,6 @@ class Page_Popup extends Page { observe((changes) => { this.update(); this.switch(); - // First, update site data but retain the URL. }); }