Skip to content
Permalink
Browse files

Reverting commit 39addc8 after a report of problems. Fixes #7196.

  • Loading branch information...
jeresig committed Oct 15, 2010
1 parent 8576570 commit 80a4178af9b12e6617bfcec818c538dfe08d3791
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/ajax.js
@@ -239,6 +239,10 @@ jQuery.extend({
var customJsonp = window[ jsonp ];

window[ jsonp ] = function( tmp ) {
data = tmp;
jQuery.handleSuccess( s, xhr, status, data );
jQuery.handleComplete( s, xhr, status, data );

if ( jQuery.isFunction( customJsonp ) ) {
customJsonp( tmp );

@@ -254,10 +258,6 @@ jQuery.extend({
if ( head ) {
head.removeChild( script );
}

data = tmp;
jQuery.handleSuccess( s, xhr, status, data );
jQuery.handleComplete( s, xhr, status, data );
};
}

0 comments on commit 80a4178

Please sign in to comment.
You can’t perform that action at this time.