server ver - adding lazy loading to emoji images in atmos layout
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
$files = array_map(function ($f) { return pathinfo($f); }, $files);
|
||||
?>
|
||||
@foreach ($files as $file)
|
||||
<a class="w0bm_emoji_anchor" title=":{{$file['filename']}}:" href="javascript:;" onclick="formatTextEmoji ('{{$file['filename']}}');"><img class="comment_emoji_small" src="//w0bm.com/images/comments/{{$file['basename']}}"></a>
|
||||
<a class="w0bm_emoji_anchor" title=":{{$file['filename']}}:" href="javascript:;" onclick="formatTextEmoji ('{{$file['filename']}}');"><img class="comment_emoji_small" src="//w0bm.com/images/comments/{{$file['basename']}}" loading="lazy"></a>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -74,4 +74,4 @@
|
||||
</form>
|
||||
</div>
|
||||
@endif
|
||||
</nav>
|
||||
</nav>
|
Reference in New Issue
Block a user