From: mayaeh Date: Tue, 9 Oct 2018 17:36:13 +0000 (+0900) Subject: Fix that the copy button of verify link did not work. (#8938) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=e50cb5f4bd83339049f51dd2e9673be873f16539;p=mastodon.git Fix that the copy button of verify link did not work. (#8938) --- 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();