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

Check options is provided for toastr item before checking preventDuplicates #225

Merged
merged 1 commit into from
Feb 6, 2019
Merged

Conversation

jatcwang
Copy link
Contributor

@jatcwang jatcwang commented Jan 31, 2019

Fixes "Uncaught TypeError: Cannot read property 'preventDuplicates' of undefined" when calling add without providing an option parameter

…entDuplicates property

Fixes "Uncaught TypeError: Cannot read property 'preventDuplicates' of undefined" when calling `add` without providing an `option` parameter
@jatcwang jatcwang changed the title Check that options is provided for a toastr item before checking prev… Check options is provided for toastr item before checking preventDuplicates Jan 31, 2019
@EmrysMyrddin
Copy link
Contributor

Nice catch !

@diegoddox diegoddox merged commit 81b2fe4 into diegoddox:master Feb 6, 2019
@diegoddox
Copy link
Owner

Thanks @jatcwang

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.

None yet

3 participants