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 35482be commit dc048dcCopy full SHA for dc048dc
searchJumper.user.js
@@ -7782,8 +7782,10 @@
7782
if (type.classList.contains("notmatch")) return;
7783
let typeName = type.dataset.type;
7784
let icon = type.firstElementChild.cloneNode(true);
7785
- icon.children[0] && (icon.children[0].style.display = "none");
7786
- icon.children[1] && (icon.children[1].style.display = "");
+ if (icon.children.length > 1) {
+ icon.children[0].style.display = "none";
7787
+ icon.children[1].style.display = "";
7788
+ }
7789
let groupSpan = document.createElement("span");
7790
groupSpan.appendChild(icon);
7791
groupSpan.dataset.type = typeName;
0 commit comments