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

Put the disabled detect inside the if block #140

Merged
merged 2 commits into from
Oct 27, 2015
Merged

Conversation

xiaoyuze88
Copy link
Contributor

Sorry, in my latest pull request, the new lines I added will cast a Uncaught TypeError error when the element equals to null, now put them inside the if(element !=null) block.

Prevent `Uncaught TypeError` error when the element equals to `null`.
fians pushed a commit that referenced this pull request Oct 27, 2015
Put the `disabled` detect inside the `if` block
@fians fians merged commit 861d6eb into fians:master Oct 27, 2015
@fians
Copy link
Owner

fians commented Oct 27, 2015

Wow, I didn't realize it. Thank you..

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