ui/app: (wasm) fix typo

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-08-01 17:48:53 +02:00
parent eefe3d146d
commit b15a32065f
+1 -1
View File
@@ -35,7 +35,7 @@ func createWindow(win *Window, opts *WindowOptions) error {
doc := js.Global().Get("document")
parent := doc.Call("getElementById", "giowindow")
if parent == js.Null() {
return errors.New("app: #giowindow not found found")
return errors.New("app: #giowindow not found")
}
cnv := createCanvas(doc)
parent.Call("appendChild", cnv)