mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
added background removal
This commit is contained in:
@@ -37,6 +37,12 @@ const updateBackground = async () => {
|
||||
const data = await readData();
|
||||
if (!data) {
|
||||
console.log("No data found in IndexedDB.");
|
||||
|
||||
const container = document.getElementById("media-container");
|
||||
const currentMedia = container.querySelector(".current-media");
|
||||
if (currentMedia) {
|
||||
currentMedia.remove();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user