Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
chore: another attemp
Browse files
app.py
CHANGED
@@ -542,14 +542,13 @@ back_to_top_btn_html = """
|
|
542 |
</button>
|
543 |
|
544 |
<script>
|
545 |
-
|
546 |
-
|
547 |
-
|
548 |
-
iframe.scrollIntoView(true);
|
549 |
}
|
550 |
-
});
|
551 |
</script>
|
552 |
|
|
|
553 |
"""
|
554 |
|
555 |
if __name__ == "__main__":
|
|
|
542 |
</button>
|
543 |
|
544 |
<script>
|
545 |
+
function scrollToTop() {
|
546 |
+
var element = document.getElementById('toTopBtn');
|
547 |
+
element.scrollIntoView({ behavior: 'smooth', block: 'start' });
|
|
|
548 |
}
|
|
|
549 |
</script>
|
550 |
|
551 |
+
|
552 |
"""
|
553 |
|
554 |
if __name__ == "__main__":
|