From: Brandon Aaron Date: Sat, 25 Jul 2009 16:08:18 +0000 (+0000) Subject: Fix for #4972. Dreamweaver CS4 crashes on offset module. Thanks mike.helgeson X-Git-Tag: 1.4a1~188 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fd0bf5d6edec1f3c03008bb29b16d7e7e1b36abc;p=jquery.git Fix for #4972. Dreamweaver CS4 crashes on offset module. Thanks mike.helgeson --- diff --git a/src/offset.js b/src/offset.js index c27dc5a8d..fe649ae3e 100644 --- a/src/offset.js +++ b/src/offset.js @@ -96,9 +96,8 @@ jQuery.offset = { this.doesNotIncludeMarginInBodyOffset = (body.offsetTop !== bodyMarginTop); body.removeChild( container ); - jQuery.offset.initialize = function(){}; - body = container = innerDiv = checkDiv = table = td = null; + jQuery.offset.initialize = function(){}; }, bodyOffset: function(body) {