Skip to content

Commit

Permalink
check_micro_feeder only show spinner if needed
Browse files Browse the repository at this point in the history
  • Loading branch information
wiedehopf committed Jun 1, 2024
1 parent e40d525 commit 1b0f335
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -351,9 +351,9 @@ <h5 class="mb-2">Add micro feeder</h5>
}
});
function check_micro_feeder() {
show_spinner();
let ip = $("#add_micro_feeder_ip").val()
if (ip.length > 3) {
show_spinner();
let url = "/api/check_remote_feeder/" + ip;
console.log("Accessing", url);
fetch(url, {
Expand Down

0 comments on commit 1b0f335

Please sign in to comment.