client: workaround for #545, but not a fix

This commit is contained in:
neobooru 2023-01-24 22:19:24 +01:00
parent e3062b1c77
commit d7d2a151a8

View file

@ -53,12 +53,14 @@ class PostListController {
this._evtNavigate(e) this._evtNavigate(e)
); );
this._headerView._bulkDeleteEditor.addEventListener( if (this._headerView._bulkDeleteEditor) {
"deleteSelectedPosts", this._headerView._bulkDeleteEditor.addEventListener(
(e) => { "deleteSelectedPosts",
this._evtDeleteSelectedPosts(e); (e) => {
} this._evtDeleteSelectedPosts(e);
); }
);
}
this._postsMarkedForDeletion = []; this._postsMarkedForDeletion = [];
this._syncPageController(); this._syncPageController();