mirror of
https://github.com/vladmandic/automatic
synced 2026-08-25 22:20:46 +02:00
fix extensions reset
This commit is contained in:
@@ -4,10 +4,10 @@ async function createSplash() {
|
||||
const splash = `
|
||||
<div id="splash" class="splash" style="background: ${dark ? 'black' : 'white'}">
|
||||
<div class="loading"><div class="loader"></div></div>
|
||||
<div class="splash-img" alt="logo" style="background-image: url(file=html/logo-bg-${dark ? 'dark' : 'light'}.jpg), url(file=html/logo-bg-${num}.jpg); background-blend-mode: ${dark ? 'color-burn' : 'color-dodge'}"></div>
|
||||
<div class="splash-img" alt="logo" style="background-image: url(file=html/logo-bg-${dark ? 'dark' : 'light'}.jpg), url(file=html/logo-bg-${num}.jpg); background-blend-mode: ${dark ? 'darken' : 'lighten'}"></div>
|
||||
</div>`;
|
||||
document.body.insertAdjacentHTML('beforeend', splash);
|
||||
console.log('createSplash', dark);
|
||||
console.log('createSplash', { 'system-theme': dark ? 'dark' : 'light' });
|
||||
}
|
||||
|
||||
async function removeSplash() { // called at the end of setHints
|
||||
|
||||
Reference in New Issue
Block a user