Skip to content

Commit f32741d

Browse files
committed
Portal.view.learn.ContentView: IntersectionObserver.observe() => subscribe to h3 tags as well #5380
1 parent 9bec06c commit f32741d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/portal/view/learn/ContentView.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ class ContentView extends Component {
134134
Neo.main.addon.IntersectionObserver.observe({
135135
disconnect: true,
136136
id : me.id,
137-
observe : '.neo-h2',
137+
observe : ['.neo-h2', '.neo-h3'],
138138
windowId : me.windowId
139139
})
140140
}

0 commit comments

Comments
 (0)