forked from rDrama/rDrama
1
0
Fork 0

remove unnecessary if condition

master
Aevann 2023-10-27 16:06:50 +03:00
parent cb639e821e
commit 986169d9f2
1 changed files with 78 additions and 80 deletions

View File

@ -4,7 +4,6 @@
<a href="{{image}}" style="text-decoration:none">
<img class="mb-4" alt="sidebar image" data-nonce="{{g.nonce}}" data-onclick="expandImage()" loading="lazy" src="{{image}}" width="100%">
{% if not hole %}
{% set coordsLookup = ({
"1.webp":({
"left":({
@ -91,7 +90,6 @@
<img class="eye" src="{{SITE_FULL_IMAGES}}/assets/events/shared/images/eye.webp" loading="lazy" style="left:{{[coordsLookup][0][selected_image]['left']['x']}};top:{{[coordsLookup][0][selected_image]['left']['y']}}">
<img class="eye" src="{{SITE_FULL_IMAGES}}/assets/events/shared/images/eye.webp" loading="lazy" style="left:{{[coordsLookup][0][selected_image]['right']['x']}};top:{{[coordsLookup][0][selected_image]['right']['y']}}">
</div>
{% endif %}
</a>
<script defer src="{{'events/shared/js/eye_tracking.js' | asset}}" ></script>