Skip to content

Commit 2ef0c1a

Browse files
committed
correct field names
1 parent 1107b7b commit 2ef0c1a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

webhookrelay.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,11 @@ <h3>Authentication</h3>
6767
];
6868
// Just in case any whitespace has crept in with the copy-paste of the fields
6969
trimFields.forEach(function (field) {
70-
var v = $("#node-config-input-" + field).val();
71-
v = v.trim();
72-
$("#node-config-input-" + field).val(v);
70+
var v = $("#node-input-" + field).val();
71+
if (v) {
72+
v = v.trim();
73+
$("#node-input-" + field).val(v);
74+
}
7375
});
7476
},
7577
inputs: 0,

0 commit comments

Comments
 (0)