Respectfully disagree. Yes it was an f-ing stupid thing to do by a bloke who is massively frustrated and, presumably, an idiot.
However, West Ham are not a good footballing team and with some positivity created by a few targeted and well-selected signings, this fame would've been different. Can't imagine the team talk before the kick off.
Ayew's behaviour is a symptom not the cause of this particular f-up.