Skip to content

Commit

Permalink
fix: classes removed after clicking back button (#877)
Browse files Browse the repository at this point in the history
  • Loading branch information
NiclasNorin authored Feb 13, 2024
1 parent ad42c9b commit 18dac99
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/js/openstreetmap/showPost.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ class ShowPost {
}

this.sidebar.querySelectorAll('[data-js-pagination-item]').forEach((item) => {
item.classList.add('c-openstreetmap__posts');
item.classList.remove('is-active');
});

Expand Down

0 comments on commit 18dac99

Please sign in to comment.