rename function
This commit is contained in:
parent
2a03a0e923
commit
aaffa17081
|
@ -182,7 +182,7 @@ Wed Feb 7 08:30:09 PM UTC 2024
|
|||
}
|
||||
}
|
||||
|
||||
function toggleJP1KMode() {
|
||||
function toggle_JP1K_mode() {
|
||||
const tsc_el = document.querySelector("#tsc");
|
||||
const jp1k_el = document.querySelector("#jp1k-tsc");
|
||||
const is_jp1k_mode = `{{Tags}}`.split(" ").includes("jp1k");
|
||||
|
@ -195,7 +195,7 @@ Wed Feb 7 08:30:09 PM UTC 2024
|
|||
reformatMultiFurigana();
|
||||
setVisibleImageOnFront();
|
||||
toggleImageDetails();
|
||||
toggleJP1KMode();
|
||||
toggle_JP1K_mode();
|
||||
document.addEventListener("keydown", (event) => {
|
||||
/* Press "P" to reveal furigana for all words */
|
||||
const P_KEY = 80;
|
||||
|
|
Loading…
Reference in a new issue