set target=_blank on manual link
Iris Lightshard nilix@nilfm.cc
PGP Signature
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEkFh6dA+k/6CXFXU4O3+8IhROY5gFAmMFL90ACgkQO3+8IhRO Y5hSoRAAl6MJM4m0uYjEH28sJBCpy1sDPKmXgWrlJ3cCj6nPfKJwr54Bm+O8riWJ uuqw9g2lgR0CE1/sPTWQhEAXG+2Hsxsrjn249mOSo9N4gry8Cr74brW6/SRcpzzY Zx/uQ3G3cxSTQgeyh9o9ypQ0NYYN/XLEY0fI3wGBfKFhRzuWgqeXabJkywmrGIkT 79GIhxoqYi/nP6+qr7bqOcG9n4V2nHlQkr+1KpBSu9j5eGHAkEFrxBO/p2sz/8lR bZj+gGszhi3XJKbY/0kLyclEjoovqmz8QdOuc7uGCvPNa5chl0ETSpumBz29vlxm RMJFtI/ukQOWzHGSaXRUqDz/87/BlOl7mUNzsvtccUpV4Ae2d3QvzLGdaiRNogxJ LfgsVNovNU3kYUsiHQEFfs4OYICE9Q++wAD1OpoubrhxNjNIPQPufXHdbnP9Qk5L 642P4GMtnbWq7z8gKtjaVVAs4aGF/mav2N1aMZj6vQv/c2yVPsN1eUHGvR5aeO4V vq5wMRHwXfl4Ubb1RhdmRLfJigJcP9f8h1vf9tjZcGrbtQj3k9hrH5uGclw2urrk yYIMe2UttyYsD9nqREInqiiFpZ0mHUpW9bKqsJoZ/iUWBwQBmZFVsgSNa1Hm5VC8 WWCQ2xkk3Z3EXOutjFwCAGCREPY20vJxJB3LK+WlSvJTqZTxjEU= =CSd8 -----END PGP SIGNATURE-----
2 files changed,
2 insertions(+),
4 deletions(-)
M
src/99-onyx-scry.ts
→
src/99-onyx-scry.ts
@@ -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",
M
static/onyx-scry.js
→
static/onyx-scry.js
@@ -1169,12 +1169,11 @@ }
} } 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