diff options
| author | Bobby <[email protected]> | 2024-04-18 22:31:08 -0400 |
|---|---|---|
| committer | Bobby <[email protected]> | 2024-04-18 22:31:08 -0400 |
| commit | d475dab266fc60e5ff31a4eefab5f139b8e5e3d7 (patch) | |
| tree | 861df54f1ca073b6d02bb6da0e6e64e447550e84 /static/js | |
| parent | 9f46bf5238c8c177bbcf02783600975e0ef245c2 (diff) | |
| download | thatcomputerscientist-d475dab266fc60e5ff31a4eefab5f139b8e5e3d7.tar.xz thatcomputerscientist-d475dab266fc60e5ff31a4eefab5f139b8e5e3d7.zip | |
Revert back translation
Diffstat (limited to 'static/js')
| -rw-r--r-- | static/js/tl.js | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/static/js/tl.js b/static/js/tl.js index df6c69eb..53b8bd98 100644 --- a/static/js/tl.js +++ b/static/js/tl.js @@ -45,9 +45,9 @@ function translateJapanese() { } else { selectEl.value = 'ja'; selectEl.dispatchEvent(new Event("change")); - setTimeout(function () { - save(); - }, 6969); + // setTimeout(function () { + // save(); + // }, 6969); } } @@ -62,9 +62,9 @@ if (currentLang === "ja") { $('#tl_ja').show(); $('body').addClass('ja'); $('body').removeClass('en'); - setTimeout(function () { - save(); - }, 6969); + // setTimeout(function () { + // save(); + // }, 6969); } else { $('#tl_ja').hide(); $('#tl_en').show(); @@ -87,11 +87,4 @@ function save() { window.sessionStorage.setItem(path, entirePage); } - // db.collection('pages').doc(path).get().then(page => { - // const storedPage = page?.page; - // if (storedPage === null || storedPage !== entirePage) { - // console.log('Saving page to DB'); - // savePageToDB(entirePage, path); - // } - // }); } |
