jyoungblood / smoke.js

framework-agnostic styled alert system for javascript
http://smoke.js.org/
930 stars 107 forks source link

Remove element once the dialog is closed #25

Closed snichme closed 7 months ago

snichme commented 12 years ago

I dont know if there is any reason for the boxes not to be removed once the user has closed the box. But here is a small change that removes the div once the dialog is closed. It is the same way that jQuery does remove() on elements

Tested in Chrome, Firefox and Safari

timoxley commented 12 years ago

:+1: