From 30b54c17fa273e17bc799ac4447e49376398804c Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Tue, 5 Jul 2016 12:14:52 -0400 Subject: [PATCH] document -> document.body --- contrib/templates/default/live.mustache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/templates/default/live.mustache b/contrib/templates/default/live.mustache index 225e5f4..eb2b2de 100644 --- a/contrib/templates/default/live.mustache +++ b/contrib/templates/default/live.mustache @@ -21,7 +21,7 @@ var e = document.createElement("div"); e.setAttribute("id", "chat"); e.setAttribute("style", "position:absolute;left:0;right:0;top:0;bottom:0;"); - document.appendChild(e); + document.body.appendChild(e); var board = "live"; if (location.hash != "" ) { board = location.hash.substr(1);