fixed lint error

pull/2/head
Zoltan The DM 2023-12-06 17:56:39 -08:00
parent 59bf58eac9
commit df7168f49c
1 changed files with 2 additions and 2 deletions

View File

@ -1835,8 +1835,8 @@ class CompendiumBrowser extends Application {
return Object.keys(MAP_THING).includes(name); return Object.keys(MAP_THING).includes(name);
}; };
//searches in a similar way to how tidy sheets does it. // searches in a similar way to how tidy sheets does it.
//probably should just use actor data instead of going through the html // probably should just use actor data instead of going through the html
html.find(".inventory-list.features-list .item-list").filter(function () { html.find(".inventory-list.features-list .item-list").filter(function () {
// find any section that is searchable // find any section that is searchable
return isSearchable($(this.previousElementSibling).find("h3.item-name")[0].innerText) return isSearchable($(this.previousElementSibling).find("h3.item-name")[0].innerText)