1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-01 00:08:21 +09:00

Fix that the copy button of verify link did not work. (#8938)

This commit is contained in:
mayaeh 2018-10-10 02:36:13 +09:00 committed by Eugen Rochko
parent 7f9dd92a27
commit e50cb5f4bd

View File

@ -184,7 +184,7 @@ function main() {
}); });
delegate(document, '.input-copy button', 'click', ({ target }) => { 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.focus();
input.select(); input.select();