From 34e6193f192acc50f6ade3296e28d72d4de9c19f Mon Sep 17 00:00:00 2001 From: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Mon, 23 Oct 2023 19:53:46 -0500 Subject: [PATCH] Lower search pop open limit --- js/client-mainmenu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/client-mainmenu.js b/js/client-mainmenu.js index 8d3db29c6d..fa95111cc7 100644 --- a/js/client-mainmenu.js +++ b/js/client-mainmenu.js @@ -1281,7 +1281,7 @@ if (!bufs[curBuf]) { bufs[curBuf] = ''; } - var open = (this.open[curSection] || this.search && this.search.length >= 3) ? ' open' : ''; + var open = (this.open[curSection] || toID(this.search)) ? ' open' : ''; bufs[curBuf] += '

'; bufs[curBuf] += '

'; bufs[curBuf] += BattleLog.escapeHTML(curSection) + '';