[#369] remove old code

This commit is contained in:
Alexander Machehin 2014-04-15 15:36:36 +06:00
parent f23259775e
commit 176266622a
1 changed files with 0 additions and 1 deletions

View File

@ -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(/&amp;/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);