Pokedex: Workaround for searching for Psychic

This commit is contained in:
Guangcong Luo 2013-06-04 16:27:36 -05:00
parent 61709650ac
commit c213b0de71

View File

@ -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 = ['','','',''];