se-panfilov / mini-toastr

Small non-blocking notification library. No dependencies
https://se-panfilov.github.io/mini-toastr/
MIT License
96 stars 18 forks source link

break loop if the element is removed #157

Open DanielGJohnsen opened 6 years ago

DanielGJohnsen commented 6 years ago

Currently the toastr is stuck in an endless loop since the opacity is eventually always <= 0.1. This will stop the loop if the element child element is removed.