Adjust window size

This commit is contained in:
c9s 2015-11-11 11:17:43 +08:00
parent 84a7d83812
commit 35b8bb1cf2

View file

@ -150,9 +150,8 @@
var lines = data.split(/\n/);
// keep window size to 30 records
lines = lines.splice(-30);
// lines = lines.splice(lines.length - 30);
// keep window size to 60 records
lines = lines.splice(-60);
$(lines).each(function(i,line) {
if (line == "") {