about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
Diffstat (limited to 'app/javascript')
-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();