- Issue created by @michaelsoetaert
When clicking on the X
or next to the popup, the popup closes with a fadeOut
-animation. The content of the popup also gets removed when closed, but this happens at the same time as the fadeOut
, causing the animation to not be smooth.
Add a delay to remove the content of the popup. This needs to be done using a setTimeout
-function, since the delay
jQuery function doesn't seem to apply on .remove()
or empty()
.
Needs review
3.0
Code