Disable right-click in image modal

This commit is contained in:
Noah 2024-02-29 19:30:51 -08:00
parent 2a0f8b0cdf
commit c7ef254361

View File

@ -18,7 +18,7 @@
<div class="modal-background" onclick="document.querySelector('#photo-modal').classList.remove('is-active')"></div>
<div class="modal-content photo-modal">
<div class="image is-fullwidth">
<img id="modalImage">
<img id="modalImage" oncontextmenu="return false">
</div>
</div>
<button class="modal-close is-large" aria-label="close" onclick="document.querySelector('#photo-modal').classList.remove('is-active')"></button>