mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-28 08:43:07 +08:00
impr(share test settings popup): automatically select link on click
This commit is contained in:
parent
7a1f2ce5ed
commit
7fd4327d3b
1 changed files with 4 additions and 0 deletions
|
@ -134,6 +134,10 @@ $(`#shareTestSettingsPopupWrapper label input`).on("change", () => {
|
|||
updateSubgroups();
|
||||
});
|
||||
|
||||
$("#shareTestSettingsPopupWrapper textarea.url").on("click", () => {
|
||||
$("#shareTestSettingsPopupWrapper textarea.url").trigger("select");
|
||||
});
|
||||
|
||||
$("#shareTestSettingsPopupWrapper").on("mousedown", (e) => {
|
||||
if ($(e.target).attr("id") === "shareTestSettingsPopupWrapper") {
|
||||
hide();
|
||||
|
|
Loading…
Reference in a new issue