Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This doesn't remove the object from the DOM after the animation is over, which the example on the website does. You'll need to add something that removes the element after the transition is over which would be a bunch more code (the eventlistener for transitionend) :)


Thanks for the heads up before the Hacker News edit window closed. +1 LOC


FYI you can set a "delay" in your profile of up to 10 minutes before your comments are shown, giving you more time to edit. May not have helped in this case but it's a cool feature.


thats's a nice tip. Thanks


one can learn a lot from reading the FAQ: https://news.ycombinator.com/newsfaq.html :)


:D that's fitting for HN.

Instead of finding a more descriptive name or adding a short description below, they put it on a completely different site.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: