Fix widget detail state check logic (#7786)

* Fix widget detail state check logic

* remove hidden class style

* Update parent.php

* Update index.php
This commit is contained in:
Alex
2026-03-12 15:51:20 +00:00
committed by GitHub
parent 3ce1aa0df4
commit 778d33d72e
4 changed files with 28 additions and 40 deletions
-4
View File
@@ -4129,10 +4129,6 @@ else { //default: white
cursor: pointer;
}
.hidden {
display: none !important;
}
.no_results {
display: none;
padding: 15px;
+2 -2
View File
@@ -780,10 +780,10 @@
const text = item.innerText.toLowerCase();
if (text.includes(search_term)) {
item.classList.remove('hidden');
item.style.display = 'block';
visible_count++;
} else {
item.classList.add('hidden');
item.style.display = 'none';
}
});