A platform for community discussion. Free, open, simple.
FIX: Revert mobile jump to last post behaviour
Penar Musarajf175afa0d9d3
diff --git a/app/assets/javascripts/discourse/widgets/topic-timeline.js.es6 b/app/assets/javascripts/discourse/widgets/topic-timeline.js.es6index 36db3959ba2..040f92db965 100644--- a/app/assets/javascripts/discourse/widgets/topic-timeline.js.es6+++ b/app/assets/javascripts/discourse/widgets/topic-timeline.js.es6@@ -262,7 +262,7 @@ createWidget("timeline-scrollarea", {const position = this.position();this.state.scrolledPost = position.current;- if (position.current === position.scrollPosition) {+ if (position.current === position.scrollPosition || this.site.mobileView) {this.sendWidgetAction("jumpToIndex", position.current);} else {this.sendWidgetAction("jumpEnd");