From 9ae499cda7f2fdb37a93ab0a7e1e160c4d747b4a Mon Sep 17 00:00:00 2001 From: Marcus Jaschen Date: Tue, 2 Jul 2024 17:39:10 +0200 Subject: [PATCH] add 'break' to switch to prevent fall-through --- js/plugin/RoutingPathQuality.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/plugin/RoutingPathQuality.js b/js/plugin/RoutingPathQuality.js index 54ff50cd..2da102c5 100644 --- a/js/plugin/RoutingPathQuality.js +++ b/js/plugin/RoutingPathQuality.js @@ -103,6 +103,7 @@ BR.RoutingPathQuality = L.Control.extend({ case 'concrete:lanes': case 'concrete:plates': surface = 0.6; + break; case 'sett': case 'gravel': case 'pebblestone':