remove the reference to the nonexistent session storage

This commit is contained in:
buzz-lightsnack-2007 2024-05-25 09:37:29 +08:00
parent b47a641b88
commit 0915265f40
4 changed files with 79 additions and 79 deletions

View file

@ -2,7 +2,7 @@
Ask product information to Google Gemini. */ Ask product information to Google Gemini. */
// Import the storage management module. // Import the storage management module.
import {global, session, compare} from "/scripts/secretariat.js"; import {global, compare} from "/scripts/secretariat.js";
import hash from "/scripts/utils/hash.js"; import hash from "/scripts/utils/hash.js";
import {URLs} from "/scripts/utils/URLs.js"; import {URLs} from "/scripts/utils/URLs.js";

View file

@ -22,7 +22,7 @@ class Page_Error extends Page {
}; };
async background() { async background() {
// Wait until a change in the session storage. // Wait until a change in the storage.
new background(async (changes) => { new background(async (changes) => {
await this.update(); await this.update();
this.fill(); this.fill();

View file

@ -18,7 +18,7 @@ class Page_Popup extends Page {
}; };
async background() { async background() {
// Wait until a change in the session storage. // Wait until a change in the storage.
new background((changes) => { new background((changes) => {
this.update(); this.update();
this.switch(); this.switch();

View file

@ -17,7 +17,7 @@ class Page_Results extends Page {
}; };
async background() { async background() {
// Wait until a change in the session storage. // Wait until a change in the storage.
new background((changes) => { new background((changes) => {
this.update(); this.update();
this.content(); this.content();