Skip to content

Commit 49423f0

Browse files
committed
add target blank to attribution links
1 parent d8950a4 commit 49423f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class EMobilityMap extends BaseClass {
4242
13
4343
);
4444
L.tileLayer('https://cartodb-basemaps-{s}.global.ssl.fastly.net/rastertiles/voyager/{z}/{x}/{y}{r}.png', {
45-
attribution: '<a href="https://opendatahub.com">OpenDataHub.com</a> | &copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>, &copy; <a href="https://carto.com/attribution">Carto</a>'
45+
attribution: '<a target="_blank" href="https://opendatahub.com">OpenDataHub.com</a> | &copy; <a target="_blank" href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>, &copy; <a target="_blank" href="https://carto.com/attribution">Carto</a>'
4646
}).addTo(this.map);
4747
}
4848

0 commit comments

Comments
 (0)