Removes unnecessary call to .off() as noted by @dcherman.

This commit is contained in:
jaubourg 2013-01-21 03:05:03 +01:00
parent 4c6fb65d35
commit 1c77259d06

View File

@ -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 );