summaryrefslogtreecommitdiff
path: root/src/web
diff options
context:
space:
mode:
Diffstat (limited to 'src/web')
-rw-r--r--src/web/app/desktop/tags/home-widgets/recommended-polls.tag2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/app/desktop/tags/home-widgets/recommended-polls.tag b/src/web/app/desktop/tags/home-widgets/recommended-polls.tag
index ebc33d77da..96a39e04c6 100644
--- a/src/web/app/desktop/tags/home-widgets/recommended-polls.tag
+++ b/src/web/app/desktop/tags/home-widgets/recommended-polls.tag
@@ -87,7 +87,7 @@
offset: this.offset
}).then(posts => {
const poll = posts ? posts[0] : null;
- if (post == null) {
+ if (poll == null) {
this.offset = 0;
} else {
this.offset++;