mirror of
https://github.com/Ionaru/easy-markdown-editor
synced 2025-07-15 14:04:28 -06:00
Fix #278
Remove erroneous and unneeded call to window.removeEventListener
This commit is contained in:
parent
67592df8bf
commit
b7d5af36c8
@ -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);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user