mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Revert to the not evals.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user