Skip to content

fix: implicit global variables in carousel JS - #1948

Closed
saurabhhhcodes wants to merge 2 commits into
apu52:mainfrom
saurabhhhcodes:fix/implicit-global-variables
Closed

saurabhhhcodes wants to merge 2 commits into
apu52:mainfrom
saurabhhhcodes:fix/implicit-global-variables

Conversation

@saurabhhhcodes

Copy link
Copy Markdown

activeSlide and slideInterval were assigned without let/const/var, creating implicit global variables that can cause state pollution and break in strict mode.

Saurabh Kumar Bajpai and others added 2 commits June 16, 2026 11:17
)

Add max-width:100% to the embedded map iframe so it shrinks to fit
the container on all viewport sizes instead of breaking the layout.
activeSlide and slideInterval were assigned without let/const/var,
creating implicit global variables that can cause state pollution and
break in strict mode.
@github-actions

Copy link
Copy Markdown

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. In the meantime, If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

@netlify

netlify Bot commented Jul 21, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for taupe-cendol-f7e2bb ready!

Name Link
🔨 Latest commit 6cc9d65
🔍 Latest deploy log https://app.netlify.com/projects/taupe-cendol-f7e2bb/deploys/6a5f1a2102744900086628b9
😎 Deploy Preview https://deploy-preview-1948--taupe-cendol-f7e2bb.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant