Skip to content

Commit

Permalink
$mol_view_tree2 refactor, hyoo-ru/mam_mol#646
Browse files Browse the repository at this point in the history
  • Loading branch information
zerkalica committed Dec 3, 2023
1 parent a582e29 commit 536b3b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lamps.view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ namespace $.$$ {
.replace( /[ \/]/g , '-' )
.replace( /[.,]/g , '' )
.toLowerCase()
.replace( /[а-я]/g , ( letter : string )=> trans[ letter ] )
.replace( /[а-я]/g , ( letter : keyof typeof trans )=> trans[ letter ] )
}

photo() {
Expand Down

0 comments on commit 536b3b6

Please sign in to comment.