From 75236edf5dc424f60ba7debbfc4be58ac854a82f Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Wed, 14 Dec 2011 19:27:23 +0100 Subject: [PATCH] windows don't like spaces in win id --- web/xynt/xynt-console.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/web/xynt/xynt-console.js b/web/xynt/xynt-console.js index c4bf044..9a4a7bb 100644 --- a/web/xynt/xynt-console.js +++ b/web/xynt/xynt-console.js @@ -3,14 +3,12 @@ function xynt_console(ena) { this.enable = ena; if (ena) { - this.win = window.open("","xynt console","navigation=no,scrollbars=yes,height=500,width=800,left=0,top=800"); - // titl = this.win.document.createElement("title"); - // titl.innerHTML = "xynt console"; + this.win = window.open("","xyntconsole","scrollbars=yes,height=500,width=400,left=0,top=800"); + conbody = this.win.document.createElement("body"); this.div = condiv = this.win.document.createElement("div"); conbody.id = "console_body"; - // this.win.document.head.appendChild(titl); this.win.document.body.appendChild(condiv); this.win.document.title = "xynt console"; } @@ -96,7 +94,7 @@ var console_enable = true; if(typeof(console) == "undefined") { var console; - + console = new xynt_console(console_enable); is_xynt_console = true; -- 2.17.1