From 5baad7311de619fa9f01b4f35e8908061a554b2e Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Mon, 3 Apr 2023 21:44:28 +0100 Subject: [PATCH] fix cosmetic bug in search text strikethrough when in tenant --- share/public/javascripts/netdisco.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/public/javascripts/netdisco.js b/share/public/javascripts/netdisco.js index f270ecf0..bbb07828 100644 --- a/share/public/javascripts/netdisco.js +++ b/share/public/javascripts/netdisco.js @@ -156,7 +156,7 @@ function device_form_state(e) { $(id).show(); // if form still has any field val, set strikethough - if (e.parents('form[action="/search"]').length > 0 && with_val != 0) { + if (e.parents('form[action$="/search"]').length > 0 && with_val != 0) { $('#nq').css('text-decoration', 'line-through'); }