Further simplification of the layout code

This commit is contained in:
Johannes Zellner
2017-08-08 18:24:00 +02:00
parent 5a7e636f2d
commit 59936c6fbf
7 changed files with 107 additions and 170 deletions

View File

@@ -64,7 +64,7 @@ angular.module('Application').controller('LogsController', ['$scope', '$location
logLine.html('<span class="time">' + timeString + ' </span>' + window.ansiToHTML(typeof data.message === 'string' ? data.message : ab2str(data.message)));
logViewer.append(logLine);
if (autoScroll) tmp.lastChild.scrollIntoView({ behavior: 'instant', block: 'end' });
// if (autoScroll) tmp.lastChild.scrollIntoView({ behavior: 'instant', block: 'end' });
};
});
});