Adjust window size

This commit is contained in:
c9s 2015-11-11 11:17:43 +08:00
parent ae191a1d75
commit 2dc8cc1533

View file

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