mirror of https://github.com/node-red/node-red.git
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];
|
trayOptions.width = editTrayWidthCache[type];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue