summaryrefslogtreecommitdiff
path: root/ui.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-06-12 16:36:07 +0200
committerTor Andersson <tor@ccxvii.net>2023-02-18 12:12:42 +0100
commitbf3242f00c38a9958866bffde4cde6b7e6829f19 (patch)
tree3b7cd10cc1e37f04f56e3d8063be2422fd8cf272 /ui.js
parentf481d263508bdf25d8dedb4e98e3ba3d80817eec (diff)
downloadshores-of-tripoli-bf3242f00c38a9958866bffde4cde6b7e6829f19.tar.gz
tripoli: Remove "Harbor" suffix from city/harbor spaces.
Diffstat (limited to 'ui.js')
-rw-r--r--ui.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.js b/ui.js
index 3302229..338b431 100644
--- a/ui.js
+++ b/ui.js
@@ -142,7 +142,7 @@ function update_card(c, show) {
if (is_card_enabled(c))
ui.cards[c].classList.add('enabled');
else
- ui.cards[c].classList.add('enabled');
+ ui.cards[c].classList.remove('enabled');
if (show)
ui.cards[c].classList.add('show');
else