diff --git a/src/Mine/SeekerBundle/Resources/public/js/mine-seeker/grid/grid-control.js b/src/Mine/SeekerBundle/Resources/public/js/mine-seeker/grid/grid-control.js index 6642eb3..3ed7b0c 100644 --- a/src/Mine/SeekerBundle/Resources/public/js/mine-seeker/grid/grid-control.js +++ b/src/Mine/SeekerBundle/Resources/public/js/mine-seeker/grid/grid-control.js @@ -322,7 +322,8 @@ class GridControl extends React.Component { mines: this.refs.userControl.state.mines - this.state.foundUserMineCache, foundMines: true }, () => { - this.refs.userControl.setState({foundMines: false}); + /** because of CSS animation in .found-mine */ + setTimeout(() => this.refs.userControl.setState({foundMines: false}), 500); /** add the found mines to the active Player */ this.refs.userControl.refs[activePlayer].setState({