Skip to content

Fix typo in code example #1355

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Fix typo in code example #1355

wants to merge 1 commit into from

Conversation

davosmith
Copy link

There looks to be a typo in the code sample.

The function param element is overwritten on the first line of the function, but the code then attempts to use the original parameter, on the second line (which won't work, unless this is some subtle bit of Javascript functionality that I'm missing - in which case, maybe it needs a comment in the code to explain it).

Copy link

netlify bot commented May 16, 2025

Deploy Preview for moodledevdocs ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit f8807f8
🔍 Latest deploy log https://app.netlify.com/projects/moodledevdocs/deploys/6827469668b688000810b2d0
😎 Deploy Preview https://deploy-preview-1355--moodledevdocs.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