From 94d15bb48360e179b79911253862f390cc83eae1 Mon Sep 17 00:00:00 2001 From: alistair3149 Date: Wed, 25 Dec 2019 17:33:52 -0500 Subject: [PATCH] Attempt to fix image class #2 --- includes/CitizenHooks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/CitizenHooks.php b/includes/CitizenHooks.php index 37fa7015..397c1ff5 100644 --- a/includes/CitizenHooks.php +++ b/includes/CitizenHooks.php @@ -65,7 +65,7 @@ class CitizenHooks { if (isset($wgTitle) && $wgTitle->getNamespace() === NS_FILE) return true; // Set lazy class for the img - $attribs['class'] .= 'lazy'; + $attribs['class'] .= ' lazy'; // Native API $attribs['loading'] = 'lazy';