Skip to content

Commit

Permalink
fix js warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sni committed Sep 12, 2024
1 parent 2784636 commit 2e3c27e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions root/thruk/javascript/thruk-3.18.js
Original file line number Diff line number Diff line change
Expand Up @@ -9478,6 +9478,7 @@ var ajax_search = {
panel = document.getElementById(ajax_search.result_pan);
}
if(!input) {
if(!ajax_search.input_field) { return; }
input = document.getElementById(ajax_search.input_field);
}
if(!panel || !input) { return; }
Expand Down

0 comments on commit 2e3c27e

Please sign in to comment.