Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
audiodude committed Nov 19, 2024
1 parent a88ff88 commit 3d237e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderers/wikimedia-mobile.renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export class WikimediaMobileRenderer extends MobileRenderer {

// Calculate the ratio so we know if we're scaling down in the width or height dimension.
const widthHeightRatio = preparedData.width / preparedData.height
let scaleUsingHeight = widthHeightRatio > 1.0
const scaleUsingHeight = widthHeightRatio > 1.0

// The data-data-file-original-src attribute is the URL of the image that was used in the original article.
// It is preferred over the data-src attribute, which is a "mobile" image that may be scaled up in order to
Expand Down

0 comments on commit 3d237e7

Please sign in to comment.