[#369] remove old code
This commit is contained in:
parent
f23259775e
commit
176266622a
|
@ -51,7 +51,6 @@ function initLogWrapper() {
|
||||||
var onBottom = Math.abs((l.clientHeight + vScroll - l.scrollHeight)) < getLineHeight(l);
|
var onBottom = Math.abs((l.clientHeight + vScroll - l.scrollHeight)) < getLineHeight(l);
|
||||||
|
|
||||||
$("#output").html(data.log);
|
$("#output").html(data.log);
|
||||||
//CodeMirror.runMode(data.log.replace(/&/gi, '&'), "text/x-sh", document.getElementById("output"));
|
|
||||||
|
|
||||||
$logCont.scrollLeft(hScroll);
|
$logCont.scrollLeft(hScroll);
|
||||||
$logCont.scrollTop((onBottom || first_open) ? l.scrollHeight - l.clientHeight : vScroll);
|
$logCont.scrollTop((onBottom || first_open) ? l.scrollHeight - l.clientHeight : vScroll);
|
||||||
|
|
Loading…
Reference in New Issue