diff options
author | Dmitry Medvinsky <me@dmedvinsky.name> | 2014-10-31 13:56:35 +0300 |
---|---|---|
committer | Dmitry Medvinsky <me@dmedvinsky.name> | 2015-04-17 10:16:18 +0300 |
commit | 92544df8da414d506d56b12a6f7077d6abc1e80b (patch) | |
tree | 7ef277a5853a16594993fa728c6083c6f1baea9f /db | |
parent | f71a4b145a454f33b9e6bec08e698426eb4a4994 (diff) | |
download | gitlab-ce-92544df8da414d506d56b12a6f7077d6abc1e80b.tar.gz |
Fix auto-selection of URL field with X11 selection
We use `focusin` event instead of `click` because when using the latter,
when the selection is created it isn't put into X11 PRIMARY selection.
And as a Linux user I'm very used to such behaviour that when something
gets selected, it's ready for pasting, which is the primary purpose of
the clone URL field.
When `focusin` is used, the selection is copied to X11 buffer
automatically, so it works as expected (tested in Firefox and Chrome).
Diffstat (limited to 'db')
0 files changed, 0 insertions, 0 deletions