From c213b0de71f8d3bbf408983a394796e511d3839f Mon Sep 17 00:00:00 2001 From: Guangcong Luo Date: Tue, 4 Jun 2013 16:27:36 -0500 Subject: [PATCH] Pokedex: Workaround for searching for Psychic --- js/search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/search.js b/js/search.js index 2dcd4739b..ba080ef08 100644 --- a/js/search.js +++ b/js/search.js @@ -55,7 +55,7 @@ } var i = Search.getClosest(query); - if (!BattleSearchIndex[i] || query === 'metronome') i--; + if (!BattleSearchIndex[i] || query === 'metronome' || query === 'psychic') i--; this.exactMatch = (query === BattleSearchIndex[i]); var bufs = ['','','',''];