From 4e1ee35c5b01f47be8b18f43ac87b891cf5998d0 Mon Sep 17 00:00:00 2001
From: Robbie Antenesse
Date: Mon, 8 Jul 2019 16:17:16 -0600
Subject: [PATCH] Fix when orthography section displays
---
src/js/render/details.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/js/render/details.js b/src/js/render/details.js
index 64c33ab..f1e4b97 100644
--- a/src/js/render/details.js
+++ b/src/js/render/details.js
@@ -93,7 +93,7 @@ export function renderDetails() {
return false;
}).filter(html => html !== false).join(' ')}
`;
const orthographyNotesHTML = orthography.notes.trim().length > 0 ? 'Notes
' + md(removeTags(orthography.notes)) + '' : '';
- const orthographyHTML = translations.length > 0 && orthographyNotesHTML.length > 0
+ const orthographyHTML = translations.length > 0 || orthographyNotesHTML.length > 0
? `
Orthography
${translations.length > 0 ? translationsHTML : ''}
${orthographyNotesHTML}`