From aaffa1708183addb9487367ce6fea1cc4bab16c1 Mon Sep 17 00:00:00 2001 From: Ren Tatsumoto Date: Fri, 29 Mar 2024 14:24:39 +0300 Subject: [PATCH] rename function --- templates/Japanese sentences/Recognition/front.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/Japanese sentences/Recognition/front.html b/templates/Japanese sentences/Recognition/front.html index ad57835..caa7aa1 100644 --- a/templates/Japanese sentences/Recognition/front.html +++ b/templates/Japanese sentences/Recognition/front.html @@ -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;