This commit is contained in:
+1
-1
@@ -113,7 +113,7 @@
|
|||||||
<p id="storage-cleanup-status" class="storage-cleanup-status" hidden></p>
|
<p id="storage-cleanup-status" class="storage-cleanup-status" hidden></p>
|
||||||
|
|
||||||
<progress id="bootstrap-progress" class="bootstrap-state-model" max="7" value="0" hidden></progress>
|
<progress id="bootstrap-progress" class="bootstrap-state-model" max="7" value="0" hidden></progress>
|
||||||
<ol id="bootstrap-steps" class="bootstrap-state-model" hidden>
|
<ol class="bootstrap-state-model" hidden>
|
||||||
<li data-step="storage">Lokalen Speicher prüfen</li>
|
<li data-step="storage">Lokalen Speicher prüfen</li>
|
||||||
<li data-step="jquery">jQuery laden</li>
|
<li data-step="jquery">jQuery laden</li>
|
||||||
<li data-step="jquery-ui">jQuery UI laden</li>
|
<li data-step="jquery-ui">jQuery UI laden</li>
|
||||||
|
|||||||
Vendored
+6
-1
@@ -135,7 +135,12 @@
|
|||||||
setStatusText('Vorbereitung abgeschlossen.');
|
setStatusText('Vorbereitung abgeschlossen.');
|
||||||
actionStatus?.classList.add('is-leaving');
|
actionStatus?.classList.add('is-leaving');
|
||||||
enter.hidden = false;
|
enter.hidden = false;
|
||||||
globalThis.requestAnimationFrame(() => enter.classList.add('is-visible'));
|
const showEnter = () => enter.classList.add('is-visible');
|
||||||
|
if (typeof globalThis.requestAnimationFrame === 'function') {
|
||||||
|
globalThis.requestAnimationFrame(showEnter);
|
||||||
|
} else {
|
||||||
|
globalThis.setTimeout(showEnter, 0);
|
||||||
|
}
|
||||||
globalThis.setTimeout(() => {
|
globalThis.setTimeout(() => {
|
||||||
if (actionStatus) actionStatus.hidden = true;
|
if (actionStatus) actionStatus.hidden = true;
|
||||||
}, 220);
|
}, 220);
|
||||||
|
|||||||
Vendored
+1
-1
@@ -19,7 +19,7 @@ test('start screen uses the presentation-style hero and one action slot', async
|
|||||||
assert.match(html, /id="bootstrap-status-text"/);
|
assert.match(html, /id="bootstrap-status-text"/);
|
||||||
assert.match(html, /id="bootstrap-enter"[^>]*hidden/);
|
assert.match(html, /id="bootstrap-enter"[^>]*hidden/);
|
||||||
assert.match(html, />Los geht’s</);
|
assert.match(html, />Los geht’s</);
|
||||||
assert.match(html, /id="bootstrap-steps"[^>]*hidden/);
|
assert.match(html, /<ol class="bootstrap-state-model" hidden>[\s\S]*data-step="storage"/);
|
||||||
assert.match(html, /id="bootstrap-progress"[^>]*hidden/);
|
assert.match(html, /id="bootstrap-progress"[^>]*hidden/);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user