Update console.html

This commit is contained in:
Namhyeon Go 2024-11-24 01:41:15 +09:00
parent 297f0595f7
commit 3d0f55c1ee

View File

@ -135,7 +135,7 @@
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;