aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/genpass/core.cljs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/genpass/core.cljs b/src/genpass/core.cljs
index 81bf6a0..5e17143 100644
--- a/src/genpass/core.cljs
+++ b/src/genpass/core.cljs
@@ -15,7 +15,7 @@
(defn main-section []
[:div
[:div.field
- (input-primary @password)]
+ (input-primary @password #(-> % .-target .select))]
[:div.field.is-grouped.is-grouped-centered
[:div.control
(button-primary "Generate" #(update-pwd @size))]]])