From 13c16f472eb1322596dd5ff695642a06918f3013 Mon Sep 17 00:00:00 2001 From: Tomasz Ferens Date: Mon, 6 Jan 2020 11:25:27 +0100 Subject: [PATCH] Fix displaying recognized text in demo example --- examples/browser/demo.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/browser/demo.html b/examples/browser/demo.html index c383283..fccb0e6 100644 --- a/examples/browser/demo.html +++ b/examples/browser/demo.html @@ -27,7 +27,7 @@ function progressUpdate(packet){ if(packet.status == 'done'){ var pre = document.createElement('pre') - pre.appendChild(document.createTextNode(packet.data.text)) + pre.appendChild(document.createTextNode(packet.data.data.text)) line.innerHTML = '' line.appendChild(pre)