fix(web): show non-Japanese names as-is with Romaji on (e.g. ☆NoAki☆ kept its stars)
With 'show Romaji' enabled, dispArtist/dispArtistById/dispArtistParts/dispTitle substituted the sort tag for the display name unconditionally. For non-Japanese names the sort tag is just a sort key (leading symbols/articles stripped, so '☆NoAki☆' → 'NoAki'), which wrongly replaced the real name. Guard the substitution on the original being Japanese — mirroring what dispAlbumName already did — so Romaji only applies to Japanese names and everything else shows unchanged. SW cache -> ns-v73. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
1 parent
d195518dfb
commit
16f76a4236
2 files changed
+7
-1
No files matched your search
+1
-1
@@ -1,4 +1,4 @@
|
||||
const CACHE = 'ns-v72';
|
||||
const CACHE = 'ns-v73';
|
||||
const PRECACHE = ['/', 'index.html', 'manifest.json', 'icon.svg'];
|
||||
const SKIP_PATHS = ['/rest/stream', '/rest/download', '/config.js'];
|
||||
// Auth token params stripped from cache keys so artwork survives across sessions/token refreshes.
|
||||
|
||||
Reference in new issue
Block a user