Skip to content

Commit 6b24a87

Browse files
mjaschenbagage
authored andcommitted
add 'break' to switch to prevent fall-through
1 parent 67547f3 commit 6b24a87

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

js/plugin/RoutingPathQuality.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ BR.RoutingPathQuality = L.Control.extend({
103103
case 'concrete:lanes':
104104
case 'concrete:plates':
105105
surface = 0.6;
106+
break;
106107
case 'sett':
107108
case 'gravel':
108109
case 'pebblestone':

0 commit comments

Comments
 (0)