sprinkle some ✨logging✨
This commit is contained in:
parent
561cd76b2c
commit
b6466c03e7
@ -52,6 +52,7 @@ async function saveOptions(ev) {
|
||||
bday: bDay,
|
||||
autocontinue: autoContinue
|
||||
};
|
||||
console.log("saving", options);
|
||||
browser.storage.sync.set(options).then(() => {
|
||||
document.querySelector('#success').textContent = "✔";
|
||||
setTimeout(() => {
|
||||
@ -66,7 +67,7 @@ async function restoreOptions() {
|
||||
// document.querySelector("#managed-colour").innerText = res.colour;
|
||||
|
||||
let settings = await browser.storage.sync.get();
|
||||
console.log(settings);
|
||||
console.log("restoring", settings);
|
||||
document.querySelector("#bcnum").value = settings.bcnum || "";
|
||||
document.querySelector("#birthday").value = settings.bday || "";
|
||||
document.querySelector("#autocontinue").checked = settings.autocontinue || false;
|
||||
|
Loading…
Reference in New Issue
Block a user