wetfish / basic

A tiny, customizable JavaScript UI framework.
MIT License
9 stars 3 forks source link

Using .append() with text causes child events to become unbound #32

Closed itsrachelfish closed 8 years ago

itsrachelfish commented 8 years ago

Using .append() with a plain text argument currently uses string concatenation on the element's innerHTML, which can cause any events bound on child elements to stop working.

Instead of replacing the element's innerHTML, a document fragment should be used.

itsrachelfish commented 8 years ago

This is fixed now!

more weeb gifs