Skip to content
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

$section in main.js is evaluated before its corresponding element exists in the DOM #42

Open
RA80533 opened this issue Mar 28, 2021 · 0 comments

Comments

@RA80533
Copy link

RA80533 commented Mar 28, 2021

$section in main.js is evaluated before its corresponding element exists in the DOM

As a result, the functionality associated with the would-be element never executes due a return statement that's guarded by a conditional which always evaluates to true:

if ($section.length < 1)
return;

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

No branches or pull requests

2 participants