mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 05:30:35 +02:00
+1
-1
@@ -317,7 +317,7 @@ export function svgData(projection, context, dispatch) {
|
||||
if (!fileName) return;
|
||||
|
||||
var re = /\.(gpx|kml|(geo)?json)$/i;
|
||||
var match = fileName.match(re);
|
||||
var match = fileName.toLowerCase().match(re);
|
||||
return match && match.length && match[0];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user