jyoungblood / smoke.js

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

nested smoke functions aren't working anymore #43

Open jyoungblood opened 10 years ago

jyoungblood commented 10 years ago

i realized it'd be better if the callback functions behaved like, you know, actual callback functions.

for instance, on the demo site there are nested smoke dialogs that should get written right after the previous dialog finishes, but it's getting written before and being destroyed when the parent is. this concept seemed to work before, but something (outside this lib) changed and exposed this bug.

anyway, i'm going to change this when i have time. or someone else can. any volunteers?

agamemnus commented 10 years ago

Maybe it has something to do with the parent not being destroyed... at least for me. In Firefox. And Chrome.

(You know, I'm open to re-adding all the features that you have. I just really don't like IDs..)