Joss Whedon is still attached to direct 'Batgirl' despite 'Justice League' being panned by critics.

Rumours had suggested that the 53-year-old filmmaker was set to be dumped as the movie's director following the failure of the much-hyped superhero movie, which he co-wrote and managed its directorial re-shoots.

But according to Entertainment Weekly, the rumours are untrue and Whedon is currently busily working on the script.

The Hollywood screenwriter - who previously directed 'The Avengers' in 2012 and 'Avengers: Age of Ultron' in 2015 - is also preparing to helm the project.

Whedon's 'Avengers' movies were well received, but the star-studded 'Justice League' film - which features the likes of Gal Gadot and Ben Affleck - has been slammed by fans and critics.

Despite this, Whedon has previously insisted he has an abundance of confidence in his movie-making skills.

Asked how he came to direct the 'Avengers' film, Whedon shared: ''I had been telling stories that were clearly superhero-team stories for many years, writing and directing them on a smaller scale. And at same time Kevin Feige was slaving away at Marvel, then was eventually put in charge of it.

''We sat down to talk about a script they had and what I would do with it. I wasn't even aware there was a possibility I could be called upon to [direct]. The more I thought about it, the more I fell in love with it.

''Everyone was like: 'Why did they pick you?' But I fit the Marvel profile perfectly - I had vision and passion and I was cheap.''