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

mbox remembers previous options #22

Open
kounelios13 opened this issue Feb 26, 2018 · 0 comments
Open

mbox remembers previous options #22

kounelios13 opened this issue Feb 26, 2018 · 0 comments
Assignees
Labels
bug v1 Issues about v1

Comments

@kounelios13
Copy link
Collaborator

This happens on branch v1.0.0.

For some reason If I call mbox passing an options object the next time I will call mbox the previous settings will be used.

So if I have the following snippet:

var options = {inDuration:500,outDuration:1800};
mbox.alert("hello",options);

Now If I use mbox.alert("hello") it will use the previous settings object even If I didn't pass it

The only exception is locale and opacity options

@kounelios13 kounelios13 added bug v1 Issues about v1 labels Feb 26, 2018
@kounelios13 kounelios13 self-assigned this Feb 26, 2018
@kounelios13 kounelios13 reopened this Apr 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug v1 Issues about v1
Projects
None yet
Development

No branches or pull requests

1 participant