Taylor Swift's performance at the iHeartRadio Music Festival over the weekend went off without a hitch -- for the most part. A minor wardrobe malfunction proved that even those most put-together celebs can run into clothing mishaps. Luckily, even though a fan tugged too hard on Swift's dress and caused the strap to come undone, the country star was saved any embarrassment by the sequined shirt she wore underneath her dress. Otherwise, there could have been a Janet Jackson-like slip-up. Phew!

Swift opened her 30-minute set by singing 'Sparks Fly.' According to Ace ShowBiz, from the time Swift set foot onstage at the MGM Grand Garden Arena in Las Vegas, the right strap of her glittery dress was falling down. But just like an old pro, the 22-year-old hitmaker finished the song without fussing with the strap and then made time for a costume change.

When Swift returned to the stage to sing 'You Belong With Me,' she was dressed up in black shorts and the glittery gold top that was underneath her dress -- the same one which saved her. Swift rounded out her set with no further wardrobe issues, singing 'Mean,' 'Love Story,' and her latest single, 'We Are Never Ever Getting Back Together.'

Swift has been working overtime to promote her upcoming album, 'Red,' which will hit store shelves and digital retailers on October 22. In addition to making time for live performances like the huge iHeartRadio Music Festival, she has been teasing new music from her album. Monday on 'Good Morning America,' Swift previewed her song 'Begin Again,' which will be for sale on iTunes on Tuesday. A new song will follow each week leading up to the release of the CD.

"Starting this week I'm gonna start unveiling new music," Swift told Rolling Stone at the iHeartRadio Music Festival. "I really want there to be so many surprises left on the record for when it comes out eventually, some collaborations that haven't been talked about and some songs that are definitely what make the album so unique."

Watch Taylor Swift's Wardrobe Malfunction at the iHeartRadio Music Fest (Around 2:40)

More From 92.5 The Ranch