Skip to content

Commit

Permalink
Revert "Stop selecting the feed URL so much. Only select it when the …
Browse files Browse the repository at this point in the history
…Copy button is clicked."

This reverts commit b1d7b04.
  • Loading branch information
stefansundin committed Sep 20, 2023
1 parent aa0b711 commit 36db564
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion public/js/main.js
Expand Up @@ -171,6 +171,7 @@ $(document).ready(async function() {
const feed_url = $("#feed-url");
feed_url.val(url).trigger("input");
feed_modal.modal("show", this);
feed_url.select();

return false;
});
Expand Down Expand Up @@ -208,7 +209,7 @@ $(document).ready(async function() {
if (qs != "") {
url += `?${qs}`;
}
$("#feed-url").val(url);
$("#feed-url").val(url).trigger("input").select();
});

$("[data-download-filename]").click(async function() {
Expand Down Expand Up @@ -331,6 +332,7 @@ $(document).ready(async function() {
const feed_url = $("#feed-url");
feed_url.val(url);
feed_modal.modal("show");
feed_url.select();
}
}
}
Expand Down

0 comments on commit 36db564

Please sign in to comment.