visitor: Hide map when used without JavaScript (e.g. on qrz.com)

pull/2967/head
Manawyrm 2024-02-08 12:19:56 +01:00
rodzic e96d6ef3fc
commit ff3f3c81e1
2 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -45,7 +45,7 @@ When submitting PRs please make sure code is commented and includes one feature
## Credits
Thanks to Andy (VE7CXZ), Gavin (M1BXF), Graham (W5ISP), Robert (M0VFC), Corby (K0SKW), Andy (GI0VGV), Tobias (DL4TMA), Tony (G0WFV), Kim (DG9VH), Michael (G7VJR), Andreas (LA8AJA), Matthias (DL9MJ), Thomas (DO2TWE), Pat (KT3PJ), Flo (DF2ET), Joerg (DJ7NT) and Fabian (HB9HIL) for contributing code or help to Cloudlog.
Thanks to Andy (VE7CXZ), Gavin (M1BXF), Graham (W5ISP), Robert (M0VFC), Corby (K0SKW), Andy (GI0VGV), Sarah (DM4NA), Tony (G0WFV), Kim (DG9VH), Michael (G7VJR), Andreas (LA8AJA), Matthias (DL9MJ), Thomas (DO2TWE), Pat (KT3PJ), Flo (DF2ET), Joerg (DJ7NT) and Fabian (HB9HIL) for contributing code or help to Cloudlog.
## Patreons & Donors

Wyświetl plik

@ -48,6 +48,8 @@ function echoQrbCalcLink($mygrid, $grid, $vucc) {
</div>
<!-- Map -->
<!-- qrz.com blocks JavaScript when embedding Cloudlog. Map display doesn't work without JS. -->
<noscript><style> #map { display: none } </style></noscript>
<div id="map" class="map-leaflet" style="width: 100%; height: 350px"></div>
<div id="container" style="padding-top: 0px; margin-top: 5px;" class="container dashboard">