Skip to content

Commit

Permalink
fixed linting bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jongund committed Jan 29, 2025
1 parent 0a85ae9 commit dd9e023
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion content/patterns/landmarks/js/image-resizing.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
/* image-resizing.js */
/*
* This content is licensed according to the W3C Software License at
* https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
*
* File: image-resizing.js
*
* Desc: Resizes images to fit in figure elements
*/

'use strict';

function resizeImagesInFigures () {
const figures = document.querySelectorAll('#at figure');
for(let i = 0; i < figures.length; i += 1) {
Expand Down

0 comments on commit dd9e023

Please sign in to comment.