Prettified

This commit is contained in:
Leah Schumann 2023-05-03 09:25:16 -04:00
parent b3f4e09a21
commit 89e1708288
3 changed files with 4 additions and 5 deletions

View file

@ -12,7 +12,7 @@ jest.mock("@/mixins/base-mixin", () => ({
});
}
},
scrollToPageBottom() {}
scrollToPageBottom() {},
},
}));

View file

@ -141,7 +141,6 @@ export default {
await this.$nextTick();
this.scrollToPageBottom();
},
resetShopList() {
this.answers = [];

View file

@ -101,12 +101,12 @@ export default {
},
scrollToPageTop() {
const container = document.getElementsByClassName("page-container-grouped-styles")[0];
container.scrollTo({ top: 0, left: 0, behavior: "smooth" });
container.scrollTo({ top: 0, left: 0, behavior: "smooth" });
},
scrollToPageBottom() {
const container = document.getElementsByClassName("page-container-grouped-styles")[0];
container.scrollTo({ top: container.scrollHeight, left: 0, behavior: "smooth" });
}
container.scrollTo({ top: container.scrollHeight, left: 0, behavior: "smooth" });
},
},
computed: {
storeActions() {