Skip to content

Commit

Permalink
fixing linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jongund committed Jan 29, 2025
1 parent dd9e023 commit e509238
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions content/patterns/landmarks/js/image-resizing.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@

'use strict';

function resizeImagesInFigures () {
function resizeImagesInFigures() {
const figures = document.querySelectorAll('#at figure');
for(let i = 0; i < figures.length; i += 1) {
for(let i = 0; i < figures.length; i++) {
const image = figures[i].querySelector('img');
if (image) {
const rect = figures[i].getBoundingClientRect();
Expand Down
1 change: 0 additions & 1 deletion content/patterns/landmarks/landmarks-pattern.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
background-color: #ddd;
width: auto;
max-width: 760px;
overflow: clip;
}

#at figure figcaption {
Expand Down

0 comments on commit e509238

Please sign in to comment.