Commits

Julian Aubourg committed 1c77259

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

Comments (0)

Files changed (1)

src/ajax/script.js

 				}).on(
 					"load error",
 					callback = function( evt ) {
-						script.off().remove();
+						script.remove();
 						callback = null;
 						if ( evt ) {
 							complete( evt.type === "error" ? 404 : 200, evt.type );