]> cat aescling's git repositories - mastodon.git/commitdiff
Fix that the copy button of verify link did not work. (#8938)
authormayaeh <mayaeh@marimo-net.org>
Tue, 9 Oct 2018 17:36:13 +0000 (02:36 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Tue, 9 Oct 2018 17:36:13 +0000 (19:36 +0200)
app/javascript/packs/public.js

index 22a8643d9c2565d9bc4424a32be187ad1f2b064b..11dc1bafc582ac2ab638b961980bec22cef3b96a 100644 (file)
@@ -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();