Refine map lightbox UX and map click behavior across pages
This commit is contained in:
parent
7f45193a6f
commit
5408aba01a
4 changed files with 24 additions and 16 deletions
|
|
@ -255,7 +255,7 @@ $baseParams = ($rawKeyword !== '') ? ['q' => $rawKeyword] : [];
|
|||
$map = pathinfo($name, PATHINFO_FILENAME).".png";
|
||||
if(is_file($config['videos_dir']."/".$map)):
|
||||
?>
|
||||
<img class="map-image" src="<?=h($config['public_videos']."/".rawurlencode($map))?>" alt="Map">
|
||||
<a class="map-image-link" href="<?=h($config['public_videos']."/".rawurlencode($map))?>"><img class="map-image" src="<?=h($config['public_videos']."/".rawurlencode($map))?>" alt="Map"></a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div class="video-info">
|
||||
|
|
@ -305,6 +305,6 @@ $baseParams = ($rawKeyword !== '') ? ['q' => $rawKeyword] : [];
|
|||
});
|
||||
})();
|
||||
</script>
|
||||
<script src="js/map_lightbox.js" defer></script>
|
||||
<script src="js/map_lightbox.js?v=20260531c" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue