This commit is contained in:
Cmdr McDonald
2016-12-16 20:38:58 +00:00
parent fb090618da
commit 059c2badf4
2 changed files with 3 additions and 1 deletions

View File

@@ -32,7 +32,8 @@ export default class DamageDealt extends TranslatedComponent {
}
/**
* Triggered when the comparator ship changes
* Triggered when the ship changes
* @param {string} s the new ship ID
*/
_onShipChange(s) {
this.setState({ against: Ships[s] });

View File

@@ -41,6 +41,7 @@ export default class ShipSelector extends TranslatedComponent {
/**
* Handle opening the menu
* @param {string} menu The ID of the opened menu
* @param {SyntheticEvent} event Event
*/
_openMenu(menu, event) {