aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabriel Giovanini <gabrielg.desouza@gmail.com>2019-06-23 19:18:20 +0200
committerGabriel Giovanini <gabrielg.desouza@gmail.com>2019-06-23 19:18:20 +0200
commit000b0d243f454ee17f09fc99ad4bed3d879cff6b (patch)
tree8cfd0906f6fe8b191efe5c982a4db6e6e7159ee7 /src
parentd70004da8a46048d1647217d7534b1ece12012c1 (diff)
downloadgenpass-000b0d243f454ee17f09fc99ad4bed3d879cff6b.tar.gz
genpass-000b0d243f454ee17f09fc99ad4bed3d879cff6b.tar.bz2
genpass-000b0d243f454ee17f09fc99ad4bed3d879cff6b.zip
Add text selection
Diffstat (limited to 'src')
-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))]]])