[filter] remove broken code

This commit is contained in:
discomrade 2024-07-18 23:42:06 +00:00 committed by Shish
parent 30b437542d
commit eeef6da955

View file

@ -21,10 +21,6 @@ class Filter extends Extension
{ {
global $page; global $page;
$this->theme->addFilterBox(); $this->theme->addFilterBox();
$page->add_html_header(SCRIPT("
Array.from(document.getElementsByClassName('thumb')).forEach(function(post) {
post.style.display='none';
});"));
} }
public function onSetupBuilding(SetupBuildingEvent $event): void public function onSetupBuilding(SetupBuildingEvent $event): void