Skip to content

Commit

Permalink
Lower search pop open limit
Browse files Browse the repository at this point in the history
  • Loading branch information
mia-pi-git committed Oct 24, 2023
1 parent ee23625 commit 34e6193
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/client-mainmenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -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] += '<p><details' + open + ' section="' + curSection + '">';
bufs[curBuf] += '<summary><strong style="color: #579">';
bufs[curBuf] += BattleLog.escapeHTML(curSection) + '</strong></summary>';
Expand Down

0 comments on commit 34e6193

Please sign in to comment.