X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/73c30a3b33f7bcddf85b7a44216b8caed7e1cd29..v1.10-46-g4c43bcbed6:/latinsample.js?ds=inline
diff --git a/latinsample.js b/latinsample.js
index 3ef69a4..406cac1 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];
}
@@ -47,7 +47,7 @@ function appendsample() {
output += '' + (cols[col] || ' ') + '';
}
else {
- output += ' ';
+ output += ' ';
}
if (row.parentNode.tagName == 'THEAD') {
output += col < 26 ? ' ' : '· '; // number separator
@@ -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;
}