File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2525 if ( window . location == "https://mapknitter.org/" ) {
2626 window . location = "https://publiclab.github.io/Leaflet.DistortableImage/examples/archive" ;
2727 } else if ( window . location . href . split ( '/' ) [ 4 ] == "embed" ) {
28- var path = "https://publiclab.github.io/Leaflet.DistortableImage/examples/archive?json=https://archive.org/download/mapknitter-wayback/" + document . location . href . split ( '.org/embed/' ) [ 1 ] ;
28+ var path = "https://publiclab.github.io/Leaflet.DistortableImage/examples/archive?json=https://archive.org/download/mapknitter-wayback/" + document . location . href . split ( '.org/embed/' ) [ 1 ] + ".json" ;
2929 window . location = path ;
3030 } else {
31- var path = "https://publiclab.github.io/Leaflet.DistortableImage/examples/archive?json=https://archive.org/download/mapknitter-wayback/" + document . location . href . split ( '.org/map/' ) [ 1 ] ;
31+ var path = "https://publiclab.github.io/Leaflet.DistortableImage/examples/archive?json=https://archive.org/download/mapknitter-wayback/" + document . location . href . split ( '.org/map/' ) [ 1 ] + ".json" ;
3232 window . location = path ;
3333 }
3434 </ script >
You can’t perform that action at this time.
0 commit comments