Skip to content

Commit

Permalink
Remove some debugging logs
Browse files Browse the repository at this point in the history
  • Loading branch information
medihack committed Mar 19, 2024
1 parent 470177b commit 9b9af31
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions radis/search/static/search/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,10 @@ function SearchForm($el) {
for (var i = 0; i < filterInputEls.length; i++) {
const filterInputEl = filterInputEls[i];
if (!filterInputEl.value) {
console.log(filterInputEl.id);
filterInputEl.setAttribute("disabled", true);
}
}
const ageFromEl = $el.querySelector("#id_age_from");
console.log(ageFromEl.value, ageFromEl.min);
if (ageFromEl.value === ageFromEl.min) {
ageFromEl.setAttribute("disabled", true);
}
Expand Down

0 comments on commit 9b9af31

Please sign in to comment.