Small fix for use 3rd party animations.
Small fix for use 3rd party animations.

erbelair/sweetalert2,birjolaxew/sweetalert2,johan-weitner/SweetAlert3,johan-weitner/SweetAlert3,limonte/sweetalert2,birjolaxew/sweetalert2,erbelair/sweetalert2