diff --git a/demos/example5.html b/demos/example5.html
index 76b38e1..633d0b2 100644
--- a/demos/example5.html
+++ b/demos/example5.html
@@ -10,7 +10,7 @@
function onQR2WebLocation(json) {
let mapData;
const scanResult = document.getElementById("scanResult");
- scanResult += " (";
+ scanResult.innerHTML += " (";
try {
mapData = JSON.parse(json);
}