EGF format uses handicap correction for file extension

This commit is contained in:
Claude Brisson
2024-04-11 22:32:39 +02:00
parent 87e10f5cb6
commit c2b3c8739a
2 changed files with 2 additions and 1 deletions

View File

@@ -80,7 +80,7 @@ onLoad(() => {
publish('application/ffg', 'tou');
});
$('.publish-egf').on('click', e => {
publish('application/egf', 'h9');
publish('application/egf', 'h' + (typeof(correction) === 'number' && correction > 0 ? correction : 9 ));
});
$('.publish-csv').on('click', e => {
publish('text/csv', 'csv');