[UI] Fixed bug in CUSTOM sites filtering (thanks barbaz for reporting).
This commit is contained in:
parent
77ef8164f3
commit
84b4a33b94
|
@ -146,6 +146,11 @@ html.tor .tor, html:not(.tor) .not-tor {
|
|||
|
||||
}
|
||||
|
||||
|
||||
.site.filtered, .site.filtered + .customizer {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#sites .customizing .presets {
|
||||
padding-bottom: 0 !important;
|
||||
margin-bottom: 0 !important;
|
||||
|
|
|
@ -921,9 +921,9 @@ var UI = (() => {
|
|||
key = Sites.toExternal(key);
|
||||
for (let r of this.allSiteRows()) {
|
||||
if (r.querySelector(".full-address").textContent.trim().includes(key)) {
|
||||
r.style.display = "";
|
||||
r.classList.remove("filtered");
|
||||
} else {
|
||||
r.style.display = "none";
|
||||
r.classList.add("filtered");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue