diff --git a/plugins/AttachmentShowRelated/AttachmentShowRelated.php b/plugins/AttachmentShowRelated/AttachmentShowRelated.php index 1d75739773..7f0007c53d 100644 --- a/plugins/AttachmentShowRelated/AttachmentShowRelated.php +++ b/plugins/AttachmentShowRelated/AttachmentShowRelated.php @@ -55,7 +55,7 @@ class AttachmentShowRelated extends Plugin */ public function onEndShowStyles(array &$styles, string $path): bool { - if ($path === 'attachment_show') { + if ($path === 'note_attachment_show') { $styles[] = '/assets/default_theme/css/pages/feeds.css'; } return Event::next;