We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e424bb0 commit 0034d83Copy full SHA for 0034d83
scripts/fb_messengerCount_main.js
@@ -54,7 +54,9 @@ function main() {
54
}
55
56
function search(text) {
57
- [...tableDiv.querySelectorAll("tr")].forEach((tr) => {
+ [...tableDiv.querySelectorAll("tr")].forEach((tr, index) => {
58
+ if (index == 0) return; // ignore table header
59
+
60
let html = tr.innerHTML;
61
if (!html.toLowerCase().includes(text.toLowerCase())) {
62
tr.classList.add("hidden");
0 commit comments