Skip to content

Commit

Permalink
Update jsmodule.html
Browse files Browse the repository at this point in the history
  • Loading branch information
WietseWind authored Nov 9, 2022
1 parent 1e499dc commit cba2f31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 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 Down

0 comments on commit cba2f31

Please sign in to comment.