Commit c5bb66af authored by theopolisme's avatar theopolisme
Browse files

Make .kml extension matching case-insensitive

parent ba283209
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -102,7 +102,7 @@
				status( 'Generating map...' );

				try {
					if ( /.kml$/.test( file.name ) ) {
					if ( /\.kml$/i.test( file.name ) ) {
						latlngs = getLocationDataFromKml( e.target.result );
					} else {
						latlngs = getLocationDataFromJson( e.target.result );