Update rule to hide the item
parent
e5c3a680a1
commit
3954147536
|
@ -2,7 +2,7 @@ setTimeout(() => {
|
||||||
let items = document.getElementsByClassName("ui-search-layout__item");
|
let items = document.getElementsByClassName("ui-search-layout__item");
|
||||||
for(let n = 0; n < items.length; n++) {
|
for(let n = 0; n < items.length; n++) {
|
||||||
let item = items[n];
|
let item = items[n];
|
||||||
let isInternational = item.innerHTML.includes("international");
|
let isInternational = item.innerHTML.toLowerCase().includes("international");
|
||||||
if(isInternational) {
|
if(isInternational) {
|
||||||
item.style.display = "none";
|
item.style.display = "none";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue