Archived
1
0

document -> document.body

This commit is contained in:
Jeff Becker 2016-07-05 12:14:52 -04:00
parent e954c57da6
commit 30b54c17fa
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B

View File

@ -21,7 +21,7 @@
var e = document.createElement("div"); var e = document.createElement("div");
e.setAttribute("id", "chat"); e.setAttribute("id", "chat");
e.setAttribute("style", "position:absolute;left:0;right:0;top:0;bottom:0;"); e.setAttribute("style", "position:absolute;left:0;right:0;top:0;bottom:0;");
document.appendChild(e); document.body.appendChild(e);
var board = "live"; var board = "live";
if (location.hash != "" ) { if (location.hash != "" ) {
board = location.hash.substr(1); board = location.hash.substr(1);