diff options
| author | 2020-05-10 20:12:13 +0000 | |
|---|---|---|
| committer | 2020-05-10 22:12:13 +0200 | |
| commit | bd8f6f19b60f478c8b1ac1f480f3894829ee9ba9 (patch) | |
| tree | 6576e67ccc1e374f94f4286ae8922ce549aa407d /app/views/helpers/index/normal | |
| parent | aea38065901408c8b6d0bb0b619f21fd81fc9347 (diff) | |
add lazy loading on favicon (#2962)
Diffstat (limited to 'app/views/helpers/index/normal')
| -rw-r--r-- | app/views/helpers/index/normal/entry_header.phtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/helpers/index/normal/entry_header.phtml b/app/views/helpers/index/normal/entry_header.phtml index 3b8aafbb2..1bca764d4 100644 --- a/app/views/helpers/index/normal/entry_header.phtml +++ b/app/views/helpers/index/normal/entry_header.phtml @@ -28,7 +28,7 @@ } } ?><li class="item website"><a href="<?= _url('index', 'index', 'get', 'f_' . $this->feed->id()) ?>"> - <?php if (FreshRSS_Context::$user_conf->show_favicons): ?><img class="favicon" src="<?= $this->feed->favicon() ?>" alt="✇" /><?php endif; ?> + <?php if (FreshRSS_Context::$user_conf->show_favicons): ?><img class="favicon" src="<?= $this->feed->favicon() ?>" alt="✇" loading="lazy" /><?php endif; ?> <span><?= $this->feed->name() ?></span></a></li> <li class="item title" dir="auto"><a target="_blank" rel="noreferrer" href="<?= $this->entry->link() ?>"><?= $this->entry->title() ?><?php if ($topline_display_authors): |
