Skip to content

Commit 9194f64

Browse files
committed
fix target to make links work
1 parent 75663a4 commit 9194f64

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

content/map/map.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
body { margin: 0; padding: 0; }
1414
html, body, #map { height: 100%; }
1515
</style>
16+
<base target="_blank">
1617
</head>
1718
<body>
1819
<div id="map"></div>
@@ -35,7 +36,7 @@
3536
});
3637

3738
map.addControl(new maplibregl.AttributionControl({
38-
customAttribution: '<A HREF="https://www.openstreetmap.org/copyright">&copy; OpenStreetMap</A> contributors.'
39+
customAttribution: '<A HREF="https://www.openstreetmap.org/copyright" target="_blank">&copy; OpenStreetMap</A> contributors.'
3940
}),'top-left');
4041

4142

0 commit comments

Comments
 (0)