diff options
| author | Bobby <[email protected]> | 2023-06-08 15:02:56 -0400 |
|---|---|---|
| committer | Bobby <[email protected]> | 2023-06-08 15:02:56 -0400 |
| commit | 43daede94aaf7ba5d02a637f6fd5402054c3bd35 (patch) | |
| tree | 8f88e737f1c99415e1e5f38fcb003c50936fcdc9 /static/js | |
| parent | 1b18fe9c97e4eb8b8e480af8c2ebebd4b36f478a (diff) | |
| download | thatcomputerscientist-43daede94aaf7ba5d02a637f6fd5402054c3bd35.tar.xz thatcomputerscientist-43daede94aaf7ba5d02a637f6fd5402054c3bd35.zip | |
Make the text imemdiately visible after change
Diffstat (limited to 'static/js')
| -rw-r--r-- | static/js/tl.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/static/js/tl.js b/static/js/tl.js index 9fa8808f..7eaf14a2 100644 --- a/static/js/tl.js +++ b/static/js/tl.js @@ -34,8 +34,6 @@ function triggerTranslation(language) { selectEl.value = language; selectEl.dispatchEvent(new Event("change")); // visiblity of #main-section is hidden until translation is done, show it after translation is done - setTimeout(function () { - document.getElementById("main-section").style.visibility = "visible"; - }, 200); + document.getElementById("main-section").style.visibility = "visible"; } } |
