X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fsupport.js;h=f8d2ba345f47ce9bd95c71084060c7e4d5b252b8;hb=bddd1837bb512b0ed537fbbdecf3ac3f6067adba;hp=04c3a2a69d6c16fc155f56d9ecbc9489b3699ff5;hpb=f8ef75eb9124ce924be5fb521c783efd5c996e33;p=jquery.git diff --git a/src/support.js b/src/support.js index 04c3a2a..f8d2ba3 100644 --- a/src/support.js +++ b/src/support.js @@ -88,7 +88,11 @@ document.body.appendChild( div ); jQuery.boxModel = jQuery.support.boxModel = div.offsetWidth === 2; document.body.removeChild( div ).style.display = 'none'; + div = null; }); + + // release memory in IE + root = script = div = all = a = null; })(); jQuery.props = { @@ -98,5 +102,6 @@ jQuery.props = { maxlength: "maxLength", cellspacing: "cellSpacing", rowspan: "rowSpan", + colspan: "colSpan", tabindex: "tabIndex" };