Fix crashing when hiding "Play with touch" section

This commit is contained in:
redphx
2024-08-02 05:56:35 +07:00
parent 8aa5177e10
commit d2839b2b7c
2 changed files with 2 additions and 2 deletions

View File

@@ -750,7 +750,7 @@ true` + text;
return false;
}
index = str.indexOf('const ', index - 100);
index = str.indexOf('const ', index - 30);
if (index < 0) {
return false;
}