X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/c6516cb90abcb0a444a6b795f42ebf8a47e008fd..73c30a3b33f7bcddf85b7a44216b8caed7e1cd29:/latinsample.js diff --git a/latinsample.js b/latinsample.js index 37d3231..3ef69a4 100644 --- a/latinsample.js +++ b/latinsample.js @@ -39,8 +39,11 @@ function appendsample() { else if (cols[28] && i && col == input.charCodeAt(i - 1) - 64) { col = 28; // repetition char } - - if (col < cols.length) { + if (row.id == 'sütterlin' && col == 19) { + var final = input.length == i + 1 || input[i + 1] == ' '; + output += cols[col].split(' ')[final ? 1 : 0]; + } + else if (col < cols.length) { output += '' + (cols[col] || ' ') + ''; } else {