We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The line: var isSameType = $el.hasClass('alert-' + notification.settings.type);
var isSameType = $el.hasClass('alert-' + notification.settings.type);
needs to be changed to: var isSameType = $el.find('.alert').hasClass('alert-' + notification.settings.type);
var isSameType = $el.find('.alert').hasClass('alert-' + notification.settings.type);
otherwise it won't find the element that has the "alert-*" class on it... (this is for the v4.0.3 taken from https://www.npmjs.com/package/bootstrap4-notify)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The line:
var isSameType = $el.hasClass('alert-' + notification.settings.type);
needs to be changed to:
var isSameType = $el.find('.alert').hasClass('alert-' + notification.settings.type);
otherwise it won't find the element that has the "alert-*" class on it...
(this is for the v4.0.3 taken from https://www.npmjs.com/package/bootstrap4-notify)
The text was updated successfully, but these errors were encountered: