Added code to remove the script tag on successful jsonp calls.
This commit is contained in:
parent
6a25c20f5c
commit
9af7387579
|
@ -192,6 +192,8 @@ jQuery.extend({
|
||||||
// Garbage collect
|
// Garbage collect
|
||||||
window[ jsonp ] = undefined;
|
window[ jsonp ] = undefined;
|
||||||
try{ delete window[ jsonp ]; } catch(e){}
|
try{ delete window[ jsonp ]; } catch(e){}
|
||||||
|
if ( head )
|
||||||
|
head.removeChild( script );
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue