Browse Source

Merge pull request #392 from tomaszferens/fix-demo-example

Fix displaying recognized text in demo example
pull/407/head
jeromewu 5 years ago committed by GitHub
parent
commit
f8aa46ec9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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