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
Attempting to change the CSS in the toaster settings replaced the toaster settings object instead of extending it.
Example: $.toaster({ settings : { toaster : { css : { "bottom" : "0px" } } } });
The text was updated successfully, but these errors were encountered:
I think I'll fix this by moving the settings to a separate method call:
$.toaster.settings('toaster', { css : { "bottom" : "0px" } } );
or maybe
$.toaster.settings.toaster('css', { "bottom" : "0px" });
Sorry, something went wrong.
I had the same problem, the solution I've found was this:
settings = $.extend(true, {}, settings, options.settings);
This will recursively re-build the settings object correctly, hope it helps!
Fixed issue #1
85a082e
scottoffen
No branches or pull requests
Attempting to change the CSS in the toaster settings replaced the toaster settings object instead of extending it.
Example:
$.toaster({ settings : { toaster : { css : { "bottom" : "0px" } } } });
The text was updated successfully, but these errors were encountered: