desmosinc / mathquill

Magic textboxes where you can type math as easily as writing!
mathquill.com
137 stars 42 forks source link

Don't attempt to prepend to an empty DOMFragment. #241

Closed jwmerrill closed 2 years ago

jwmerrill commented 2 years ago

DOMFragment.prepend asserts that the dom fragment has exactly one element. Prepending to an empty fragment doesn't really make sense.