1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

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

View File

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