]> source.dussan.org Git - jquery.git/commitdiff
Fix for #4972. Dreamweaver CS4 crashes on offset module. Thanks mike.helgeson
authorBrandon Aaron <brandon.aaron@gmail.com>
Sat, 25 Jul 2009 16:08:18 +0000 (16:08 +0000)
committerBrandon Aaron <brandon.aaron@gmail.com>
Sat, 25 Jul 2009 16:08:18 +0000 (16:08 +0000)
src/offset.js

index c27dc5a8dcbce3c7bf2bca2e8e89b845566a7109..fe649ae3e75abdd8bffe4ae20315c986c779e1d5 100644 (file)
@@ -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) {