mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-03-21 17:50:29 -05:00
Preact: Fix pressing Enter in teambuilder with invalid results (#2451)
This commit is contained in:
parent
3dd9882a9f
commit
df0188bbfb
|
|
@ -251,6 +251,9 @@ class TeamEditorState extends PSModel {
|
|||
return this.dex.moves.get(moveid).name + '|' + slot;
|
||||
}
|
||||
return this.dex.moves.get(result[1]).name;
|
||||
case 'html':
|
||||
case 'header':
|
||||
return '';
|
||||
default:
|
||||
return result[1];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user