Skip to content
Permalink
Browse files
Removes unnecessary call to .off() as noted by @dcherman.
  • Loading branch information
jaubourg committed Jan 21, 2013
1 parent 4c6fb65 commit 1c77259d06e49ccaedbd0f7adf968e10748dacc0
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ajax/script.js
@@ -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 );

0 comments on commit 1c77259

Please sign in to comment.