mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-06-29 19:46:16 +00:00
Yeet JQuery in favor of vanilla JS
This commit is contained in:
parent
c7e38dfcfb
commit
6f759bb678
7 changed files with 106 additions and 94 deletions
|
@ -90,7 +90,12 @@
|
|||
</div>
|
||||
|
||||
<div class="image-fullscreen" onclick="imageFullscreenOff()">
|
||||
<img src="" alt="{{ image.post_alt }}" onload="imgFade(this);" style="opacity:0;" />
|
||||
<img
|
||||
src=""
|
||||
alt="{{ image.post_alt }}"
|
||||
onload="imgFade(this);"
|
||||
style="opacity:0;"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div class="image-grid">
|
||||
|
@ -98,7 +103,8 @@
|
|||
<img
|
||||
src="{{ url_for('api.file', file_name=image.file_name) }}?r=prev"
|
||||
alt="{{ image.post_alt }}"
|
||||
onload="imgFade(this)" style="opacity:0;"
|
||||
onload="imgFade(this)"
|
||||
style="opacity: 0;"
|
||||
onerror="this.src='{{ url_for('static', filename='error.png')}}'"
|
||||
{% if "File" in image.image_exif %}
|
||||
width="{{ image.image_exif.File.Width.raw }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue