mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-06-29 11:36:16 +00:00
Fix console getting spammed with errors
Page actually jumps down once you exit image view
This commit is contained in:
parent
3331edf24d
commit
95a116ef50
3 changed files with 41 additions and 35 deletions
|
@ -4,7 +4,7 @@
|
|||
<meta property="og:image" content="{{ url_for('api.file', file_name=image.file_name) }}"/>
|
||||
<meta name="theme-color" content="#{{ image.image_colours.0.0 }}{{ image.image_colours.0.1 }}{{ image.image_colours.0.2 }}"/>
|
||||
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
function imageFullscreenOff() {
|
||||
document.querySelector("html").style.overflow = "auto";
|
||||
let fullscreen = document.querySelector('.image-fullscreen')
|
||||
|
@ -281,7 +281,7 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block script %}
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
let infoTab = document.querySelectorAll('.info-tab');
|
||||
for (let i = 0; i < infoTab.length; i++) {
|
||||
infoTab[i].querySelector('.info-header').addEventListener('click', function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue