X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/73c30a3b33f7bcddf85b7a44216b8caed7e1cd29..f18c74928ccf255c0c03f352732dd674efd73040:/latinsample.js diff --git a/latinsample.js b/latinsample.js index 3ef69a4..a120c66 100644 --- a/latinsample.js +++ b/latinsample.js @@ -39,7 +39,7 @@ function appendsample() { else if (cols[28] && i && col == input.charCodeAt(i - 1) - 64) { col = 28; // repetition char } - if (row.id == 'sütterlin' && col == 19) { + if (row.id == 'suetterlin' && col == 19) { var final = input.length == i + 1 || input[i + 1] == ' '; output += cols[col].split(' ')[final ? 1 : 0]; } @@ -55,7 +55,7 @@ function appendsample() { } if (cols[29] && !cols[28]) { // circumfix sign if no repetition - output = cols[29] + output + cols[29]; + output = cols[29] + output + (cols[30] || cols[29]); } samplecol.innerHTML = output; }