fix cosmetic bug in search text strikethrough when in tenant

This commit is contained in:
Oliver Gorwits
2023-04-03 21:44:28 +01:00
parent 678c5c03df
commit 5baad7311d

View File

@@ -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');
}