Skip to content

Commit

Permalink
Use right classname
Browse files Browse the repository at this point in the history
  • Loading branch information
mortenbo committed Dec 3, 2024
1 parent 8f71eee commit 213bc89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/incito-browser/incito.ts
Original file line number Diff line number Diff line change
Expand Up @@ -949,9 +949,9 @@ export default class Incito extends MicroEvent<{
this.trigger(visibility, {sectionId, sectionPosition});

if (visible) {
sectionEl.classList.add('tjek-incito--visible');
sectionEl.classList.add('incito--visible');
} else {
sectionEl.classList.remove('tjek-incito--visible');
sectionEl.classList.remove('incito--visible');
}
}
visibility: DocumentVisibilityState = 'visible';
Expand Down

0 comments on commit 213bc89

Please sign in to comment.