Disable right-click in image modal
This commit is contained in:
parent
2a0f8b0cdf
commit
c7ef254361
|
@ -18,7 +18,7 @@
|
||||||
<div class="modal-background" onclick="document.querySelector('#photo-modal').classList.remove('is-active')"></div>
|
<div class="modal-background" onclick="document.querySelector('#photo-modal').classList.remove('is-active')"></div>
|
||||||
<div class="modal-content photo-modal">
|
<div class="modal-content photo-modal">
|
||||||
<div class="image is-fullwidth">
|
<div class="image is-fullwidth">
|
||||||
<img id="modalImage">
|
<img id="modalImage" oncontextmenu="return false">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<button class="modal-close is-large" aria-label="close" onclick="document.querySelector('#photo-modal').classList.remove('is-active')"></button>
|
<button class="modal-close is-large" aria-label="close" onclick="document.querySelector('#photo-modal').classList.remove('is-active')"></button>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user