mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-11-10 00:33:02 -05:00
Jumpbar Fix (#4089)
This commit is contained in:
parent
ab901e67c4
commit
1b27841736
@ -107,7 +107,7 @@ export class JumpbarService {
|
||||
data.forEach(obj => {
|
||||
try {
|
||||
let ch = keySelector(obj).charAt(0).toUpperCase();
|
||||
if (/\d|\#|!|%|@|\(|\)|\^|\.|_|\*/g.test(ch)) {
|
||||
if (!/[a-zA-Z]/.test(ch)) {
|
||||
ch = '#';
|
||||
}
|
||||
if (!keys.hasOwnProperty(ch)) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user