mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-06-29 11:36:16 +00:00
Update date (I forgor 💀)
This commit is contained in:
parent
a46192566f
commit
5791a72f0a
4 changed files with 3 additions and 22 deletions
|
@ -75,7 +75,7 @@ window.onload = function () {
|
|||
'Using <a href="https://phosphoricons.com/">Phosphoricons</a> and ' +
|
||||
'<a href="https://www.gent.media/manrope">Manrope</a> <br>' +
|
||||
'Made by Fluffy and others with ❤️ <br>' +
|
||||
'<a href="https://github.com/Fluffy-Bean/onlylegs">V23.04.05</a>');
|
||||
'<a href="https://github.com/Fluffy-Bean/onlylegs">V23.04.06</a>');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
@ -63,22 +63,3 @@
|
|||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block script %}
|
||||
<script type="text/javascript">
|
||||
/*if (document.referrer.includes('image')) {
|
||||
try {
|
||||
let referrerId = document.referrer.split('/').pop();
|
||||
|
||||
let imgOffset = document.getElementById('image-' + referrerId).offsetTop;
|
||||
let imgHeight = document.getElementById('image-' + referrerId).offsetHeight;
|
||||
let windowHeight = window.innerHeight;
|
||||
|
||||
document.querySelector('html').style.scrollBehavior = 'auto';
|
||||
window.scrollTo(0, imgOffset + (imgHeight / 2) - (windowHeight / 2));
|
||||
document.querySelector('html').style.scrollBehavior = 'smooth';
|
||||
} catch (e) {
|
||||
console.log(e);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue