De-duplicate HTML for tab content, add way for tab to request scroll to top

This commit is contained in:
Julian Stirling 2025-10-28 16:32:47 +00:00
parent a89306b3b8
commit d2c9122720
2 changed files with 15 additions and 22 deletions

View file

@ -72,7 +72,7 @@
:page-class="'page-item'"
:active-class="'uk-active'"
:disabled-class="'uk-disabled'"
:click-handler="scrollToTop()"
:click-handler="scrollToTop"
>
</Paginate>
</div>
@ -135,10 +135,7 @@ export default {
methods: {
scrollToTop() {
const el = document.querySelector("#container-left");
if (el) {
el.scrollTop = 0;
}
this.$emit("scrollTop");
},
visibilityChanged(isVisible) {
if (isVisible) {