From 6e225d3f0df1a2cc4dc3803b283099522dcc51f8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= <skunk@xover.mud.at>
Date: Sat, 30 May 2020 10:09:03 +0200
Subject: [PATCH] car_maxspeed: bugfix

---
 car_maxspeed.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/car_maxspeed.json b/car_maxspeed.json
index c3da28d..b504733 100644
--- a/car_maxspeed.json
+++ b/car_maxspeed.json
@@ -96,7 +96,7 @@
         "description": [
             "{% if maxspeedF or maxspeedB %}",
             "<span style='color: {{ colorB }}'>{{ maxspeedB == 'other' ? attribute(tags, 'maxspeed:backward') : const.colorOther[maxspeedB] ? tagTrans('maxspeed', maxspeedB) : maxspeedB|default(trans('unknown')) }}</span> / <span style='color: {{ colorF }}'>{{ maxspeedF == 'other' ? attribute(tags, 'maxspeed:forward') : const.colorOther[maxspeedF] ? tagTrans('maxspeed', maxspeedF) : maxspeedF|default(trans('unknown')) }}</span> {{ unit }}",
-            "{% elseif maxspeed == 'other' %}",
+            "{% elseif maxspeed %}",
             "<span style='color: {{ color }}'>{{ maxspeed == 'other' ? tags.maxspeed : const.colorOther[maxspeed] ? tagTrans('maxspeed', maxspeed) : maxspeed }} {{ unit }}</span>",
             "{% elseif tags.maxspeed %}",
             "{{ tags.maxspeed }}",