ensure editor is removed

- Fixes issue with left over HTML in the DOM
This commit is contained in:
Steve-Mcl 2021-04-29 17:32:44 +01:00
parent abf084f6c2
commit c3715a2a3d
1 changed files with 1 additions and 1 deletions

View File

@ -819,7 +819,7 @@ RED.library = (function() {
close: function(e) {
RED.keyboard.enable();
if (libraryEditor) {
libraryEditor.destroy();
libraryEditor.remove();
libraryEditor = null;
}
}