returncatalogbottom

Anonymous
Man, I hate client side rendered stuff, I can't just attach an event to DOMContentLoaded and be done
>>1144814>>1125091
Anonymous
>>1125091
#editai change "gonna" to "about to"
Anonymous
lord have mercy.jpg
>>1125090
>>1125091
Speaking of which, does adding a MutationObserver to the body node (with subtree & childList options), slow things down much? I would expect so but I can't find any benchmarks for this kind of thing - js programmers seem to not care about performance whatsoever
>>1165916
Anonymous
bump
Anonymous## opworm
>>1144814
i sure hope not because we use one for the reply form lol. (all to just dynamically adjust the space between the reply form and the bottom of the thread.) i've suspected it might, so we're going to try to get rid of it
>>1167042
Anonymous
>>1165916
Why is an observer needed for that? Can't you just call a function when a post finishes directly?
>>1167947
Anonymous## opworm
>>1167042
it has to run every time any text in the reply form changes. it's very ugly and was not written by me
Anonymous## opworm
it's just added to the reply form element though, not the body
>>1170708
Anonymous
>>1167970
That'll be fine... maybe it'll be fine on the body node too - but executing on every append/removal of the entire document sounds bad, but maybe not

returncatalogtoplast 200 posts