Skip to content
This repository was archived by the owner on Aug 31, 2022. It is now read-only.

Commit b4f9223

Browse files
author
Calvin Metcalf
committed
and I grabed an old version of hash now fixed and tested
1 parent 23eb05d commit b4f9223

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/leaflet-full.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8758,7 +8758,7 @@ L.control.layers.provided = function (baseLayers, overlays, options) {
87588758
}
87598759
if (this.options.lc && !this.options.formatBase) {
87608760
this.options.formatBase = [
8761-
/[\sA-Z]/g, function(match) {
8761+
/[\s\:A-Z]/g, function(match) {
87628762
if (match.match(/\s/)) {
87638763
return "_";
87648764
} else if (match.match(/\:/)) {

src/leaflet-hash.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
}
1414
if (this.options.lc && !this.options.formatBase) {
1515
this.options.formatBase = [
16-
/[\sA-Z]/g, function(match) {
16+
/[\s\:A-Z]/g, function(match) {
1717
if (match.match(/\s/)) {
1818
return "_";
1919
} else if (match.match(/\:/)) {

0 commit comments

Comments
 (0)