Remove erroneous and unneeded call to window.removeEventListener
pull/280/head
Eugene Mirotin 3 years ago committed by GitHub
parent 67592df8bf
commit b7d5af36c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2174,7 +2174,6 @@ EasyMDE.prototype.render = function (el) {
};
EasyMDE.prototype.cleanup = function () {
window.removeEventListener(this.onWindowResize);
document.removeEventListener('keydown', this.documentOnKeyDown);
};

Loading…
Cancel
Save