about summary refs log tree commit diff
path: root/app/javascript/packs
diff options
context:
space:
mode:
authormayaeh <mayaeh@marimo-net.org>2018-10-10 02:36:13 +0900
committerEugen Rochko <eugen@zeonfederated.com>2018-10-09 19:36:13 +0200
commite50cb5f4bd83339049f51dd2e9673be873f16539 (patch)
treee108528d2ce6c6f7122f9e33ba2700a4349d3e58 /app/javascript/packs
parent7f9dd92a27e937e3cbc42c1e3c8b844c3583c92b (diff)
Fix that the copy button of verify link did not work. (#8938)
Diffstat (limited to 'app/javascript/packs')
-rw-r--r--app/javascript/packs/public.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/packs/public.js b/app/javascript/packs/public.js
index 22a8643d9..11dc1bafc 100644
--- a/app/javascript/packs/public.js
+++ b/app/javascript/packs/public.js
@@ -184,7 +184,7 @@ function main() {
   });
 
   delegate(document, '.input-copy button', 'click', ({ target }) => {
-    const input = target.parentNode.querySelector('input');
+    const input = target.parentNode.querySelector('.input-copy__wrapper input');
 
     input.focus();
     input.select();