about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2018-10-11 21:28:03 +0200
committerGitHub <noreply@github.com>2018-10-11 21:28:03 +0200
commit00759642446c41c9e9c428010ed0d3d3b79703bb (patch)
treef8cc02c4034d2436ea849a4f313c42eabc51a808 /app/javascript
parentbb1103d9742f088252f8156968a474ca8a58b087 (diff)
parent8f720be9f3ad314f0c0b0c7c0cc81616ba20e8fd (diff)
Merge pull request #775 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/core/settings.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/core/settings.js b/app/javascript/core/settings.js
index 377c899dc..af97c84f9 100644
--- a/app/javascript/core/settings.js
+++ b/app/javascript/core/settings.js
@@ -56,7 +56,7 @@ delegate(document, '.input-copy input', '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.select();