mootools/mootools-core — Issue #2127: .adopt() causes memory leak
Author: gd0t
Created: 2011-11-16 20:16:28+00:00
State: open

If you use .adopt() versus .inject() or .grab() you'll notice a memory leak in IE7, possibly IE8.

Example:

var newDiv = new Element('div', { id: 'newrDiv' });
$(document.body).adopt(newDiv);