Revert to the not evals.

This commit is contained in:
BlipRanger
2023-07-06 23:06:44 -04:00
parent f93fb78bc7
commit 02fb1bc26f

View File

@@ -6494,7 +6494,12 @@ const swipe_right = () => {
}
export function updateCharacterCount(characterSelector) {
const visibleCharacters = $(characterSelector).filter(":visible");
const visibleCharacters = $(characterSelector)
.not(".hiddenBySearch")
.not(".hiddenByTag")
.not(".hiddenByGroup")
.not(".hiddenByGroupMember")
.not(".hiddenByFav");
const visibleCharacterCount = visibleCharacters.length;
const totalCharacterCount = $(characterSelector).length;