FIX problem when missing postGridtoolabr action

This commit is contained in:
Antoine M 2026-05-13 18:03:35 +02:00
parent fc44dbe333
commit aa2418b23c

View File

@ -142,9 +142,11 @@ export default function archivesInit() {
}
handleFilterPostsBy();
postGridToolbarActions.addEventListener('click', (e) => {
e.preventDefault();
});
if (postGridToolbarActions) {
postGridToolbarActions.addEventListener('click', (e) => {
e.preventDefault();
});
}
}
function updatePostCount(count: number) {