Skip to content

Commit

Permalink
Merge pull request #47 from diekus/main
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
diekus authored Jan 27, 2025
2 parents dbb3245 + bf7393a commit 07c2d33
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pwa-application-title/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@
const appTitleMetaTag = document.querySelector('[name="application-title"]');
appTitleMetaTag.setAttribute('content', titleBarText);
}

updateBtn = document.getElementById('btnUpdate');
updateBtn.addEventListener('click', updateAppTitleBarText());
</script>
<link rel="manifest" href="manifest.json" />
<meta name="application-title" content="">
Expand All @@ -50,6 +47,11 @@ <h1>application-title demo</h1>
<p>
More information <a href="https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/DocumentSubtitle/explainer.md" target="_blank">here</a>.
</p>

<script>
const updateBtn = document.getElementById('btnUpdate');
updateBtn.addEventListener('click', updateAppTitleBarText());
</script>

</body>
</html>

0 comments on commit 07c2d33

Please sign in to comment.