aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/offset.js2
-rw-r--r--src/support.js3
2 files changed, 4 insertions, 1 deletions
diff --git a/src/offset.js b/src/offset.js
index 964844e7d..0a8b9e64f 100644
--- a/src/offset.js
+++ b/src/offset.js
@@ -75,6 +75,8 @@ jQuery.offset = {
body.removeChild( container );
jQuery.offset.initialize = function(){};
+
+ body = container = innerDiv = checkDiv = table = td = null;
},
bodyOffset: function(body) {
diff --git a/src/support.js b/src/support.js
index 891aa7af1..18c494d51 100644
--- a/src/support.js
+++ b/src/support.js
@@ -88,10 +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
- div = null;
+ root = script = div = all = a = null;
})();
jQuery.props = {