Skip to content

Commit

Permalink
Lazy load.
Browse files Browse the repository at this point in the history
  • Loading branch information
gjb2048 committed Sep 25, 2023
1 parent f59018c commit fc58423
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/grid.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
{{^notavailable}}<a href="{{sectionurl}}">{{/notavailable}}{{#notavailable}}<div>{{/notavailable}}
{{/popup}}
{{#popup}}
<div data-toggle="modal" data-target="#gridPopup" data-section="{{number}}">
<div class="grid-modal" data-toggle="modal" data-target="#gridPopup" data-section="{{number}}" tabindex="0">
{{/popup}}
<div class="card-header text-truncate">{{{sectionname}}}{{#notavailable}}
<div data-region="sectionbadges" class="sectionbadges d-flex">
Expand All @@ -89,7 +89,7 @@
{{/notavailable}}</div>
{{#imageuri}}
<div class="grid-image card-img-bottom text-center">
<img src="{{imageuri}}" alt="{{imagealttext}}">
<img src="{{imageuri}}" alt="{{imagealttext}}" loading="lazy">
{{#sectioncompletionmarkup}}{{{sectioncompletionmarkup}}}{{/sectioncompletionmarkup}}
</div>
{{/imageuri}}
Expand Down

0 comments on commit fc58423

Please sign in to comment.