aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Giovanini <gabrielg.desouza@gmail.com>2019-06-23 21:18:47 +0200
committerGabriel Giovanini <gabrielg.desouza@gmail.com>2019-06-23 21:18:47 +0200
commita88ec35a8c156f09f444320d8246d69554a8e8b0 (patch)
treebfdb7c6945068a82c8b80ede97aa37c920d023d4
parente5f0321d7f92b497e97e61392d88111c930c0246 (diff)
downloadgenpass-a88ec35a8c156f09f444320d8246d69554a8e8b0.tar.gz
genpass-a88ec35a8c156f09f444320d8246d69554a8e8b0.tar.bz2
genpass-a88ec35a8c156f09f444320d8246d69554a8e8b0.zip
Fix
-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 5ff3c0b..33096d0 100644
--- a/src/genpass/core.cljs
+++ b/src/genpass/core.cljs
@@ -15,7 +15,7 @@
(.addRange selection range))
(if (and (.-selection js/document) (-> js/document .-body .createTextRange))
(let [range (-> js/document .-body .createTextRange)]
- (.moveToElementText range)
+ (.moveToElementText range this)
(.select range))))))