set target=_blank on manual link
This commit is contained in:
parent
b9f85da9cc
commit
0b8f67c7b5
2 changed files with 2 additions and 4 deletions
|
@ -1,10 +1,9 @@
|
|||
const helpLink = "<br><a href='https://nilfm.cc/git/onyx-scry/about'>ONYX/scry manual</a>";
|
||||
const helpLink = "<br><a target='_blank' href='https://nilfm.cc/git/onyx-scry/about'>ONYX/scry manual</a>";
|
||||
|
||||
|
||||
function init(): void {
|
||||
let overlays: OverlayState = OverlayState.load() ?? new OverlayState();
|
||||
const map = L.map('map').fitWorld();
|
||||
// old default zoom was 13
|
||||
|
||||
const streetLayer = TileLayerWrapper.constructLayer(
|
||||
"streetLayer",
|
||||
|
|
|
@ -1169,12 +1169,11 @@ class MapHandler {
|
|||
}
|
||||
}
|
||||
MapHandler.instance = null;
|
||||
const helpLink = "<br><a href='https://nilfm.cc/git/onyx-scry/about'>ONYX/scry manual</a>";
|
||||
const helpLink = "<br><a target='_blank' href='https://nilfm.cc/git/onyx-scry/about'>ONYX/scry manual</a>";
|
||||
function init() {
|
||||
var _a;
|
||||
let overlays = (_a = OverlayState.load()) !== null && _a !== void 0 ? _a : new OverlayState();
|
||||
const map = L.map('map').fitWorld();
|
||||
// old default zoom was 13
|
||||
const streetLayer = TileLayerWrapper.constructLayer("streetLayer", L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
|
||||
maxZoom: 19,
|
||||
attribution: "street map data © OpenStreetMap contributors" + helpLink
|
||||
|
|
Loading…
Reference in a new issue