Skip to content

Commit

Permalink
merge, Xumm CDN
Browse files Browse the repository at this point in the history
  • Loading branch information
WietseWind committed Nov 11, 2022
2 parents 3143817 + cba2f31 commit b0b4684
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sample/jsmodule.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</head>
<body>
<h1>Sample</h1>
<h2 id="sub">...</h2>
<h2 id="sub">... (please sign in)</h2>
<button id="auth">Auth</button>
<button id="logout">Logout</button>
<script type="module">
Expand All @@ -21,7 +21,7 @@ <h2 id="sub">...</h2>

document.getElementById('logout').onclick = () => {
xumm.logout()
document.getElementById('sub').innerText = '...'
document.getElementById('sub').innerText = '... (please sign in)'
}

xumm.on("error", (error) => {
Expand All @@ -40,4 +40,4 @@ <h2 id="sub">...</h2>
})
</script>
</body>
</html>
</html>

0 comments on commit b0b4684

Please sign in to comment.