Skip to content

Commit

Permalink
Merge pull request #139 from obada-jaras/patch-2
Browse files Browse the repository at this point in the history
fix (#137) issue
  • Loading branch information
zaidalyafeai authored Sep 19, 2023
2 parents eb77781 + 407744c commit a68a959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const listOfToggable = new Set();
const form = document.querySelector("#form");

if (isProvided("name")) {
const name = queries.get("name");
const name = queries.get("name").trim();
$("#special").text(name);
$("input[name='name']").each((_, e) => $(e).val(name));
} else {
Expand Down

0 comments on commit a68a959

Please sign in to comment.