mirror of
https://github.com/jquery/jquery.git
synced 2026-01-23 14:58:11 -05:00
Removes unnecessary call to .off() as noted by @dcherman.
This commit is contained in:
@@ -38,7 +38,7 @@ jQuery.ajaxTransport( "script", function( s ) {
|
||||
}).on(
|
||||
"load error",
|
||||
callback = function( evt ) {
|
||||
script.off().remove();
|
||||
script.remove();
|
||||
callback = null;
|
||||
if ( evt ) {
|
||||
complete( evt.type === "error" ? 404 : 200, evt.type );
|
||||
|
||||
Reference in New Issue
Block a user