Skip to content

Commit

Permalink
impr(share test settings popup): automatically select link on click
Browse files Browse the repository at this point in the history
  • Loading branch information
Miodec committed Sep 19, 2023
1 parent 7a1f2ce commit 7fd4327
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/src/ts/popups/share-test-settings-popup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 7fd4327

Please sign in to comment.