2
0
mirror of https://github.com/Ionaru/easy-markdown-editor synced 2025-07-15 14:04:28 -06:00
Remove erroneous and unneeded call to window.removeEventListener
This commit is contained in:
Eugene Mirotin 2020-12-22 13:38:39 +02:00 committed by GitHub
parent 67592df8bf
commit b7d5af36c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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