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

Fix variable reference error in editableList

Fixes #2933
This commit is contained in:
Nick O'Leary 2021-04-13 13:24:54 +01:00
parent 39274b0c5d
commit 6a8cf1b768
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -71,7 +71,7 @@
var buttons = this.options.buttons || []; var buttons = this.options.buttons || [];
if (this.options.addButton !== false) { if (this.options.addButton !== false) {
var addLabel, addTittle; var addLabel, addTitle;
if (typeof this.options.addButton === 'string') { if (typeof this.options.addButton === 'string') {
addLabel = this.options.addButton addLabel = this.options.addButton
} else { } else {