aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/app.js b/app.js
index 7726250..4fd014c 100644
--- a/app.js
+++ b/app.js
@@ -175,7 +175,9 @@ function plugin() {
/* istanbul ignore if - never used (yet) */
if (silent) return true;
- prop['type'] = 'text';
+ if( prop['type'] != 'password' )
+ prop['type'] = 'text';
+
prop['placeholder'] = subvalue.replace(/^_*/g, '').replace(/_*$/g, ''),
console.log(prop);