Skip to content

Commit

Permalink
add 'break' to switch to prevent fall-through
Browse files Browse the repository at this point in the history
  • Loading branch information
mjaschen committed Jul 2, 2024
1 parent 67547f3 commit 9ae499c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/plugin/RoutingPathQuality.js
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down

0 comments on commit 9ae499c

Please sign in to comment.