fix lint: operator '=' must be spaced

This commit is contained in:
Baltazar Gomez 2021-08-10 12:22:21 -05:00 committed by Thomas Zarebczan
parent 121dcfdcab
commit 926d76de07

View file

@ -41,7 +41,7 @@ function insertToHead(fullHtml, htmlToInsert) {
} }
} }
function truncateDescription(description, maxChars=200) { function truncateDescription(description, maxChars = 200) {
// Get list of single-codepoint strings // Get list of single-codepoint strings
const chars = [...description]; const chars = [...description];
// Use slice array instead of substring to prevent breaking emojis // Use slice array instead of substring to prevent breaking emojis