From 6b24a8790eea72bf6e95a63bfaadc0417f36d3fa 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 54ff50c..2da102c 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':