diff --git a/jquery.particleground.js b/jquery.particleground.js index 3146625..8b44903 100644 --- a/jquery.particleground.js +++ b/jquery.particleground.js @@ -344,7 +344,8 @@ } function destroy() { - console.log('destroy'); + pause(); + particles = []; canvas.parentNode.removeChild(canvas); hook('onDestroy'); if ($) {