FIX problem when missing postGridtoolabr action
This commit is contained in:
parent
fc44dbe333
commit
aa2418b23c
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user