*Mel B tossed a glass of water at Simon Cowell and stormed off stage after he made a joke about her wedding night on “America’s Got Talent.”

The Spice Girl, currently going through a nasty divorce from her second husband, Stephen Belafonte, was waiting to address the technical difficulties that plagued escape artist Demian Aditya’s performance during Tuesday’s show.

Cowell began by telling the contestant, “I kind of think it will be like Mel B’s wedding night. A lot of anticipation, not much promise.”

Mel lost it, tossing her mug of water at Cowell’s before leaving the panel.

Host Tyra Banks said: “Mel B is out. This is live TV, all. Live TV,” while judge Howie Mandel added: “Something just went wrong.”

Watch below:

Mel eventually returned to finish the show but appeared to have ripped her dress in the process.

The singer filed for divorce from Belafonte earlier this year and was granted a restraining order against him after she accused him of abusing her, getting their nanny pregnant and forcing her to take part in threesomes.

She has three daughters — 5-year-old Madison with Stephen, Phoenix, 18, from her first marriage to Jimmy Gulzar, and Angel, 10, from a relationship with Eddie Murphy.