From 2e3c27ef52594a20bbd1e4b7de24b69e012779e4 Mon Sep 17 00:00:00 2001 From: Sven Nierlein Date: Thu, 12 Sep 2024 21:42:53 +0200 Subject: [PATCH] fix js warning --- root/thruk/javascript/thruk-3.18.js | 1 + 1 file changed, 1 insertion(+) diff --git a/root/thruk/javascript/thruk-3.18.js b/root/thruk/javascript/thruk-3.18.js index a9fc3483c..8b79e4aee 100644 --- a/root/thruk/javascript/thruk-3.18.js +++ b/root/thruk/javascript/thruk-3.18.js @@ -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; }