Skip to content

Commit

Permalink
Reset feed options when the modal is opened.
Browse files Browse the repository at this point in the history
  • Loading branch information
stefansundin committed May 6, 2024
1 parent ed027da commit cf29033
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/main.js
Expand Up @@ -212,7 +212,7 @@ $(document).ready(async function() {
const action = form.attr("action");
const url = $("#feed-url").val();
console.log(url);
modal.find("form").hide();
modal.find("form").trigger("reset").hide();
if (url.startsWith(window.location.origin)) {
if (action === "youtube") {
const uri = new URL(url);
Expand Down

0 comments on commit cf29033

Please sign in to comment.