aboutsummaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'app.js')
-rw-r--r--app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.js b/app.js
index 538ccab..5b4ec1b 100644
--- a/app.js
+++ b/app.js
@@ -147,7 +147,7 @@ function plugin() {
prop.type = 'text';
}
- prop.placeholder = subvalue.replace(/^_*/g, '').replace(/_*$/g, '');
+ prop.placeholder = subvalue.replace(/^_*/g, '').replace(/_*$/g, '') || undefined;
if (index < length) {
return eat(START + subvalue.slice(1) + END.slice(1) + letsEat)({