Skip to content

Commit

Permalink
Fix: PullToRefresh does not work anymore
Browse files Browse the repository at this point in the history
It was using the wrong mainElement
  • Loading branch information
tbnobody committed Jan 20, 2024
1 parent 4f2fbaa commit 4cfb1b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webapp/src/components/BasePage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default defineComponent({
var self = this;
console.log("init");
PullToRefresh.init({
mainElement: 'main', // above which element?
mainElement: 'body', // above which element?
instructionsPullToRefresh: this.$t('base.Pull'),
instructionsReleaseToRefresh: this.$t('base.Release'),
instructionsRefreshing: this.$t('base.Refreshing'),
Expand Down Expand Up @@ -120,4 +120,4 @@ export default defineComponent({
opacity: 0;
}
}
</style>
</style>

0 comments on commit 4cfb1b1

Please sign in to comment.