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

@ -2,7 +2,7 @@
Manage the local cache.
*/
import alerts from "/gui/scripts/alerts.js";
import logging from "/scripts/logging.js";
/* Read all stored data in the browser cache.
@ -268,7 +268,7 @@ export async function write(PATH, DATA, CLOUD = -1) {
*/
export async function forget(preference, CLOUD = 0, override = false) {
// Confirm the action.
let forget_action = override ? override : await alerts.confirm();
let forget_action = override ? override : await logging.confirm();
if (forget_action) {
if (preference) {