Skip to content

Commit

Permalink
Stop selecting the feed URL so much. Only select it when the Copy but…
Browse files Browse the repository at this point in the history
…ton is clicked.
  • Loading branch information
stefansundin committed Feb 12, 2023
1 parent ef61675 commit b1d7b04
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions public/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ $(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 @@ -209,7 +208,7 @@ $(document).ready(async function() {
if (qs != "") {
url += `?${qs}`;
}
$("#feed-url").val(url).trigger("input").select();
$("#feed-url").val(url);
});

$("[data-download-filename]").click(async function() {
Expand Down Expand Up @@ -332,7 +331,6 @@ $(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 b1d7b04

Please sign in to comment.