Browse Source

Fix displaying recognized text in demo example

pull/392/head
Tomasz Ferens 5 years ago
parent
commit
13c16f472e
  1. 2
      examples/browser/demo.html

2
examples/browser/demo.html

@ -27,7 +27,7 @@ function progressUpdate(packet){ @@ -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)

Loading…
Cancel
Save