Nice recovery! Chanelle Riggan, a contestant in the Miss California USA pageant on Jan. 11, showed off a little more than she planned when she suffered a wardrobe malfunction onstage during the swimsuit portion of the competition. 

As seen in the video above from TMZ, Riggan was strutting her stuff in a hot-pink bikini when her top popped off, exposing both of her breasts to the audience. To her credit, though, she recovered like a pro, quickly pulling the top back down and holding the strings in place behind her back.

All the while, she kept a smile on her face, even laughing a little when she got to the front of the stage. She later snagged the fourth runner-up spot.

After video of her little misstep popped up on Monday, Jan. 26, the Miss Beverly Hills USA winner again demonstrated her presence of mind, sharing a positive message on Twitter.

Pageant officials praised Riggan's recovery, too, saying in a statement: "The top 20 semi finalists in the 2015 Miss California USA Pageant were provided matching swimsuits from Beach Bunny which they received moments before the swimsuit competition began. One semi finalist accidentally pulled the string of her top as she reached to remove a sarong which the contestants were also provided to use as a prop by the show production team. She recovered quickly with much poise and grace. We could not be more proud of her for her ability to continue on in the competition that night."