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

W5 d2 #78

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open

W5 d2 #78

wants to merge 18 commits into from

Conversation

steppinlo
Copy link

@linkblaine @queerviolet

got the message to appear/disappear by clicking on the "click me" text on the html page. Also added feature of a prompt to change the text. Currently working on making it change the correct text block.

})
};

document.addEventListener("DOMContentLoaded", function(e){errorModule()})

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can just pass in errorModule to addEventListener:

 document.addEventListener('DOMContentLoaded', errorModule);

@queerviolet
Copy link

LGTM

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.

2 participants