Fix: PullToRefresh does not work anymore

It was using the wrong mainElement
This commit is contained in:
Thomas Basler 2024-01-21 00:55:05 +01:00
parent 4f2fbaaf2a
commit 4cfb1b1c26

View File

@ -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'),