summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--example/public/index.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/example/public/index.html b/example/public/index.html
index 8fac721..8e6b46a 100644
--- a/example/public/index.html
+++ b/example/public/index.html
@@ -42,6 +42,9 @@
<script>
const { supportsWebauthn, startAttestation, startAssertion } = SimpleWebAuthnBrowser;
+ /**
+ * A simple way to control how debug content is written to a debug console element
+ */
function printDebug(elemDebug, title, output) {
if (elemDebug.innerHTML !== '') {
elemDebug.innerHTML += '\n';