summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-11-24 12:05:00 +0100
committerMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-11-24 12:05:00 +0100
commite2d0ef2f174316b63c5b47750996baf11a18ad9a (patch)
treef4d25e3e8ffde727a9429aa71fad1cae759b2f74
parentc2f610a8864840b400f18bbbae98bf0acef08f62 (diff)
downloadvotes-for-women-e2d0ef2f174316b63c5b47750996baf11a18ad9a.tar.gz
placeholder when no icon found
-rw-r--r--play.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/play.js b/play.js
index 9878400..a935fe1 100644
--- a/play.js
+++ b/play.js
@@ -552,7 +552,7 @@ const ICONS = {
}
function sub_icon(match) {
- return ICONS[match]
+ return ICONS[match] || match
}
function on_log(text) { // eslint-disable-line no-unused-vars