mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Protect against node type names that clash with Object property names
Fixes #917
This commit is contained in:
parent
12e46deea2
commit
6bc3f82afe
@ -724,7 +724,7 @@ RED.editor = (function() {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (editTrayWidthCache[type]) {
|
||||
if (editTrayWidthCache.hasOwnProperty(type)) {
|
||||
trayOptions.width = editTrayWidthCache[type];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user