Skip to content

Commit 672ac79

Browse files
author
Sharon
committed
working now
1 parent 72af8e7 commit 672ac79

5 files changed

Lines changed: 1733 additions & 619 deletions

File tree

examples/header/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ <h2 id="header"><a href="#header">Header</a></h2>
2222
<div id='PageHeader'></div>
2323
<script id="script-header">
2424
window.addEventListener('DOMContentLoaded', async () => {
25-
try {
25+
try {
2626
await UI.initHeader(UI.store)
27-
} catch (error) {
27+
} catch (error) {
2828
window.alert(`Error loading header. You need to have a div with id = PageHeader on your page.`)
29-
}
29+
}
3030
});
3131
</script>
3232
<pre id="viewSource-header"></pre><script>showSource('header')</script>

0 commit comments

Comments
 (0)