bug: major bug fixes and smoothing

This commit is contained in:
SethBurkart123
2024-01-24 08:47:54 +11:00
parent e2619bb20b
commit c1f095a503
7 changed files with 198 additions and 66 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import browser from 'webextension-polyfill'
import backgroundPage from 'url:./background/background.html'
export async function appendBackgroundToUI() {
console.log('Starting appendBackgroundToUI...');
@@ -10,6 +10,6 @@ export async function appendBackgroundToUI() {
background.id = 'background';
background.classList.add('imageBackground');
background.setAttribute('excludeDarkCheck', 'true');
background.src = browser.runtime.getURL('backgrounds/background.html');
background.src = backgroundPage;
parent!.appendChild(background);
}