Duplicate XF.setupHtmlInsert has different behavior in XF 2.2 and XF 2.3.

NikitOS

Well-known member
Affected version
2.3.0 Beta 2
In XF 2.2, if a jQuery object is passed as the second argument (onReady) to the XF.setupHtmlInsert method, the innerHTML of the target was replaced with the outerHTML of the elements in the jQuery collection (via Node.appendChild).
In XF 2.3, if an HTMLElement object is passed as the second argument, the innerHTML of the target is replaced with the innerHTML of the passed element.
 
This winds up being a duplicate of an earlier report, but the details here were helpful so thank you.

 
Top Bottom