diff --git a/components/movies/MovieDetails.bs b/components/movies/MovieDetails.bs index de9f86856..aa2405a4b 100644 --- a/components/movies/MovieDetails.bs +++ b/components/movies/MovieDetails.bs @@ -51,6 +51,7 @@ end sub ' onMoviePosterSwapAnimationStateChange: Handler for changes to m.moviePosterSwapAnimation.state ' sub onMoviePosterSwapAnimationStateChange() + if not isValid(m.moviePosterSwapAnimation) then return if LCase(m.moviePosterSwapAnimation.state) <> "stopped" then return m.moviePoster.uri = m.moviePosterSwap.uri m.moviePoster.opacity = 1