diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2022-08-22 12:53:41 -0700 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2022-08-22 12:53:41 -0700 |
| commit | 61ca5e01509f1dd59acc2d3a8a9637ff03178311 (patch) | |
| tree | 863b784c0b21afe4494285af246155a70fe168f5 /trypandoc | |
| parent | fbf8807ff979b635247015591c1843dd6c6ca0ae (diff) | |
Another trypandoc fix.
Diffstat (limited to 'trypandoc')
| -rw-r--r-- | trypandoc/trypandoc.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trypandoc/trypandoc.js b/trypandoc/trypandoc.js index e7793491f..063a5bca7 100644 --- a/trypandoc/trypandoc.js +++ b/trypandoc/trypandoc.js @@ -89,7 +89,7 @@ function convert() { .then(response => response.text()) .then(restext => { let binary = binaryFormats[to]; - if (binary && response.ok) { + if (binary) { document.getElementById("results").innerHTML = '<a download="trypandoc.' + binary.extension + '" href="data:' + binary.mime + ';base64,' + restext + |
