From eeef6da955084d30957ef1f8a07b7eea8145c2fc Mon Sep 17 00:00:00 2001 From: discomrade <83621080+discomrade@users.noreply.github.com> Date: Thu, 18 Jul 2024 23:42:06 +0000 Subject: [PATCH] [filter] remove broken code --- ext/filter/main.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ext/filter/main.php b/ext/filter/main.php index 88f5f2aa..6a86b8c1 100644 --- a/ext/filter/main.php +++ b/ext/filter/main.php @@ -21,10 +21,6 @@ class Filter extends Extension { global $page; $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