📢 Moderators Needed 🚀

Moderators are needed with resources to post or have access to resources to post. Submit an application to be considered.
P

RSS Undefined Removal Order and Behavior caused by XF.off

  • Thread starter Thread starter pegasus
  • Start date Start date
P

pegasus

Guest
Guest or Bot
When using the Javascript method XF.off to remove an event listener from a known element, the method removes a matching listener from XF.eventHandlers even though the evaluated listener may actually belong to a different element, usually when multiple elements share the same listener. At first glance this may seem safe, because there are still the expected number of listeners in the cache and all listeners can still be removed individually, if in an unexpected order.

But in practice, we...

Read more

Continue reading...
 
Similar content Most view View more
Back
Top