mirror of
https://github.com/discourse/discourse.git
synced 2025-04-27 10:34:30 +08:00
FIX: onScroll method was not defined on mobile discovery (#8672)
This commit is contained in:
parent
5b75b8c135
commit
7f00cefcac
@ -1,4 +1,5 @@
|
|||||||
{{#discovery-topics-list model=model refresh=(action "refresh") incomingCount=topicTrackingState.incomingCount}}
|
{{#discovery-topics-list model=model refresh=(action "refresh") incomingCount=topicTrackingState.incomingCount as |discoveryTopicList|}}
|
||||||
|
{{log discoveryTopicList}}
|
||||||
{{#if top}}
|
{{#if top}}
|
||||||
<div class='top-lists'>
|
<div class='top-lists'>
|
||||||
{{period-chooser period=period action=(action "changePeriod")}}
|
{{period-chooser period=period action=(action "changePeriod")}}
|
||||||
@ -22,6 +23,7 @@
|
|||||||
expandGloballyPinned=expandGloballyPinned
|
expandGloballyPinned=expandGloballyPinned
|
||||||
expandAllPinned=expandAllPinned
|
expandAllPinned=expandAllPinned
|
||||||
scrollOnLoad=true
|
scrollOnLoad=true
|
||||||
|
onScroll=discoveryTopicList.saveScrollPosition
|
||||||
category=category}}
|
category=category}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/discovery-topics-list}}
|
{{/discovery-topics-list}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user