[PLUGINS][AttachmentShowRelated] Fix onEndShowStyles condition to add proper stylesheet to array
This commit is contained in:
parent
a622b175bc
commit
4ae160b0f8
@ -55,7 +55,7 @@ class AttachmentShowRelated extends Plugin
|
|||||||
*/
|
*/
|
||||||
public function onEndShowStyles(array &$styles, string $path): bool
|
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';
|
$styles[] = '/assets/default_theme/css/pages/feeds.css';
|
||||||
}
|
}
|
||||||
return Event::next;
|
return Event::next;
|
||||||
|
Loading…
Reference in New Issue
Block a user