include popup HTML CSS requirements

This commit is contained in:
buzz-lightsnack-2007 2024-05-12 20:18:39 +08:00
parent 5f97e572a5
commit 6cf97c803e
2 changed files with 11 additions and 13 deletions

View file

@ -2,7 +2,6 @@
<head> <head>
<script src="../../styles/external/materialize/js/materialize.js"></script> <script src="../../styles/external/materialize/js/materialize.js"></script>
<script src="../../scripts/pages/popup.js" type="module"></script> <script src="../../scripts/pages/popup.js" type="module"></script>
<link href="../../styles/popup.css" rel="stylesheet" type="text/css" />
</head> </head>
<body class="loading"> <body class="loading">
<label class="flow-text" for="loading"></label> <label class="flow-text" for="loading"></label>

View file

@ -12,7 +12,7 @@ import logging from "/scripts/logging.js";
class Page_Popup extends Page { class Page_Popup extends Page {
constructor() { constructor() {
super(); super({"headers": {"CSS": [`/styles/popup.css`]}});
this.content(); this.content();
this.background(); this.background();
this.events(); this.events();
@ -23,7 +23,6 @@ class Page_Popup extends Page {
observe((changes) => { observe((changes) => {
this.update(); this.update();
this.switch(); this.switch();
// First, update site data but retain the URL.
}); });
} }