mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Fix that the copy button of verify link did not work. (#8938)
This commit is contained in:
parent
7f9dd92a27
commit
e50cb5f4bd
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user