mbox icon indicating copy to clipboard operation
mbox copied to clipboard

mbox remembers previous options

Open kounelios13 opened this issue 6 years ago • 0 comments

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 avatar Feb 26 '18 21:02 kounelios13