diff --git a/html/index.html b/html/index.html index fa4dfab..cc9cd62 100644 --- a/html/index.html +++ b/html/index.html @@ -189,7 +189,7 @@ - +
diff --git a/html/script.js b/html/script.js index 8d33d76..df7ca2c 100644 --- a/html/script.js +++ b/html/script.js @@ -1803,6 +1803,11 @@ function initMap() { } else { $('#photo_container').addClass('hidden'); } + if (showPictures && planespottersAPI && !flightawareLinks) { + $('#photoLinkRow').addClass('hidden'); + } else { + $('#photoLinkRow').removeClass('hidden'); + } refreshSelected(); } });