add scrill after results
Gitea Actions Demo / build_and_push (push) Successful in 1m18s
Details
Gitea Actions Demo / build_and_push (push) Successful in 1m18s
Details
This commit is contained in:
parent
98444183aa
commit
0124335b33
|
|
@ -66,7 +66,12 @@ async function SavePhoto(self) {
|
||||||
}
|
}
|
||||||
|
|
||||||
document.getElementById("result").innerHTML = text;
|
document.getElementById("result").innerHTML = text;
|
||||||
|
setTimeout(function(){
|
||||||
|
window.scrollBy({
|
||||||
|
top: 300,
|
||||||
|
behavior: 'smooth'
|
||||||
|
});
|
||||||
|
}, 100);
|
||||||
// Внутри функции SavePhoto после вставки HTML:
|
// Внутри функции SavePhoto после вставки HTML:
|
||||||
document.querySelectorAll('.main-image').forEach(img => {
|
document.querySelectorAll('.main-image').forEach(img => {
|
||||||
img.addEventListener('click', function (e) {
|
img.addEventListener('click', function (e) {
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
{% block meta %}{% endblock %}
|
{% block meta %}{% endblock %}
|
||||||
<link rel="icon" type="image/x-icon" href="static/favicon.ico">
|
<link rel="icon" type="image/x-icon" href="static/favicon.ico">
|
||||||
<title>{% block title %}{% endblock %}</title>
|
<title>{% block title %}{% endblock %}</title>
|
||||||
<link rel="stylesheet" href="static/styles.css?v=2">
|
<link rel="stylesheet" href="static/styles.css?v=3">
|
||||||
<!-- Yandex.Metrika counter -->
|
<!-- Yandex.Metrika counter -->
|
||||||
<script type="text/javascript" >
|
<script type="text/javascript" >
|
||||||
(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
|
(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
|
||||||
|
|
@ -45,6 +45,6 @@
|
||||||
{% block form %}{% endblock %}
|
{% block form %}{% endblock %}
|
||||||
</body>
|
</body>
|
||||||
</section>
|
</section>
|
||||||
<script src="static/scripts.js?v=2"></script>
|
<script src="static/scripts.js?v=3"></script>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue