We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32f7b62 commit f0d69afCopy full SHA for f0d69af
apps/portal/view/learn/ContentComponent.mjs
@@ -84,18 +84,6 @@ class ContentComponent extends Component {
84
85
if (value) {
86
me.timeout(50).then(() => {
87
- me.customComponents.forEach(component => {
88
- if (!component.mounted && !component.rendering) {
89
- component.render(true)
90
- }
91
- });
92
-
93
- me.livePreviews.forEach(livePreview => {
94
- if (!livePreview.mounted && !livePreview.rendering) {
95
- livePreview.render(true)
96
97
98
99
Neo.main.addon.IntersectionObserver.register({
100
callback: 'findTopmostItem',
101
id : me.id,
@@ -110,7 +98,7 @@ class ContentComponent extends Component {
110
111
me.livePreviews.forEach(livePreview => {
112
livePreview.mounted = false
113
+ })
114
102
}
115
103
116
104
0 commit comments