There was an error while loading. Please reload this page.
1 parent 1107b7b commit 2ef0c1aCopy full SHA for 2ef0c1a
webhookrelay.html
@@ -67,9 +67,11 @@ <h3>Authentication</h3>
67
];
68
// Just in case any whitespace has crept in with the copy-paste of the fields
69
trimFields.forEach(function (field) {
70
- var v = $("#node-config-input-" + field).val();
71
- v = v.trim();
72
- $("#node-config-input-" + field).val(v);
+ var v = $("#node-input-" + field).val();
+ if (v) {
+ v = v.trim();
73
+ $("#node-input-" + field).val(v);
74
+ }
75
});
76
},
77
inputs: 0,
0 commit comments