Attempt to fix image class #2

This commit is contained in:
alistair3149 2019-12-25 17:33:52 -05:00
parent bfa10edab9
commit 94d15bb483
No known key found for this signature in database
GPG key ID: 94D081060FD3DD9C

View file

@ -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';