mirror of
https://github.com/gnh1201/caterpillar.git
synced 2025-06-06 13:19:05 +00:00
Update console.html
This commit is contained in:
parent
297f0595f7
commit
3d0f55c1ee
|
@ -135,7 +135,7 @@
|
||||||
try {
|
try {
|
||||||
var start = s.indexOf('{');
|
var start = s.indexOf('{');
|
||||||
var end = [s.indexOf("}\r\n\r\n"), s.lastIndexOf('}')].reduce(function(a, x) {
|
var end = [s.indexOf("}\r\n\r\n"), s.lastIndexOf('}')].reduce(function(a, x) {
|
||||||
if (x > 0 && a < x) {
|
if (x > 0 && a > x) {
|
||||||
a = x; // set new value if x greater than 0 and x less than previous value
|
a = x; // set new value if x greater than 0 and x less than previous value
|
||||||
}
|
}
|
||||||
return a;
|
return a;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user