changed alerts to the logging
This commit is contained in:
parent
35e208b61d
commit
527d7b6835
7 changed files with 24 additions and 24 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue