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

Fix error closing library dialog with monaco

This commit is contained in:
Nick O'Leary 2021-07-21 10:10:07 +01:00
parent c9597b9447
commit 8ef3baaffb
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

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