Revision 60927
Added by Konstantinos Triantafyllou almost 3 years ago
community.component.ts | ||
---|---|---|
150 | 150 |
this.subs.push(this._communityService.getCommunityAsObservable().subscribe( |
151 | 151 |
community => { |
152 | 152 |
if(community) { |
153 |
if (typeof document !== 'undefined') { |
|
154 |
HelperFunctions.scroll(); |
|
155 |
} |
|
156 | 153 |
this.community = community; |
157 | 154 |
if (community.description != null && (community.description.length - this.thresholdDescription <= this.descriptionDiff)) { |
158 | 155 |
this.thresholdDescription = community.description.length; |
Also available in: Unified diff
[Connect | Trunk]: Add smooth scroll service