mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-24 14:34:09 +00:00
Attempt to fix image class #2
This commit is contained in:
parent
bfa10edab9
commit
94d15bb483
|
@ -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';
|
||||
|
|
Loading…
Reference in a new issue