Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Plavozont committed Aug 20, 2024
1 parent a6894ab commit 2eb8bf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dictation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@

function save_voc()
{
setCookie("vocabulary",voc.value,365)
setCookie("vocabulary",voc.value.replace("\n", ":lnbrk:"),365)
}

function transition_effect()
Expand Down Expand Up @@ -242,7 +242,7 @@
Παρουσιάζω|I present
Αστείος|funny`

var vocabulary = getCookie("vocabulary")
var vocabulary = getCookie("vocabulary").replace(":lnbrk:", "\n")
vocabulary.split("\n").forEach(element => {
if (element.trim() != "") ex.push(element)
});
Expand Down

0 comments on commit 2eb8bf8

Please sign in to comment.