mbox
mbox copied to clipboard
mbox remembers previous options
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