Skip to content

Commit

Permalink
Update console.html
Browse files Browse the repository at this point in the history
  • Loading branch information
gnh1201 committed Nov 23, 2024
1 parent 297f059 commit 3d0f55c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion console.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ <h1>Caterpillar Proxy Console</h1>
try {
var start = s.indexOf('{');
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
}
return a;
Expand Down

0 comments on commit 3d0f55c

Please sign in to comment.