disable image background

This commit is contained in:
SethBurkart123
2023-10-11 12:34:50 +11:00
parent fa6d0908f4
commit be6a4b8d16
2 changed files with 8 additions and 10 deletions
+4 -6
View File
@@ -1,4 +1,4 @@
/* global chrome */
/* // global chrome */
/* function isValidBase64(str) {
const len = str.length;
if (len % 4 !== 0) {
@@ -28,7 +28,7 @@ function base64ToArrayBuffer(base64) {
} */
export async function appendBackgroundToUI() {
const response = await new Promise((resolve, reject) => {
/* const response = await new Promise((resolve, reject) => {
chrome.runtime.sendMessage({ type: "IndexedDB", action: "read", fileName: "customBackground" }, (response) => {
if (chrome.runtime.lastError) {
return reject(chrome.runtime.lastError);
@@ -78,7 +78,5 @@ export async function appendBackgroundToUI() {
backgroundElement.classList.add("imageBackground");
mount.appendChild(backgroundElement);
}
}
}
appendBackgroundToUI();
} */
}