Skip to content

Issue #3294854 attached the 'ajaxComplete' listener to the document and removed once.

I did move the listener 'ajaxComplete' because of the 'ajaxComplete' is a global event that trigger on the root 'document'. (see: https://api.jquery.com/Ajax_Events/)

If I understand correctly, if document is the target element of the event and this event is triggered on this element, then the event should not propagate down the DOM tree to the 'html' element.

Closes #3294854

Merge request reports