diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2022-08-22 12:36:11 -0700 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2022-08-22 12:36:11 -0700 |
| commit | fbf8807ff979b635247015591c1843dd6c6ca0ae (patch) | |
| tree | d5640f158086864f5d4d9fc8b38a6a2cfaa6ed6b | |
| parent | b5567684158ef32ea7e4e0ef32b1e25b98ca6f0a (diff) | |
Fix typo in trypandoc.js.
| -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 05f635c30..e7793491f 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 and response.ok) { + if (binary && response.ok) { document.getElementById("results").innerHTML = '<a download="trypandoc.' + binary.extension + '" href="data:' + binary.mime + ';base64,' + restext + |
