.removeEventListener ()

eventTarget.addEventListener("event", eventHandlerFunction);
 
eventTarget.removeEventListener("event", eventHandlerFunction);
Douglas Stemple