Bug Tracker

Ticket #3758: memory_leak_on_support_routines.diff

File memory_leak_on_support_routines.diff, 413 bytes (added by choan, 14 years ago)

Patch (dettaches the handler)

  • src/support.js

     
    7878                        // Cloning a node shouldn't copy over any
    7979                        // bound event handlers (IE does this)
    8080                        jQuery.support.noCloneEvent = false;
     81                        div.detachEvent("onclick", arguments.callee);
    8182                });
    8283                div.cloneNode(true).fireEvent("onclick");
    8384        }