Skip to content

notify options should be cleared after hide() #23

@larsbo

Description

@larsbo

i create a notify message like

var notifyContainer = $('.top-right');
var message = notifyContainer.notify({
message: { html: "<div>some html stuff here</div>" },
fadeOut: { enabled: false },
closable: false
});

and hide it with message.hide().

but when i fire another notfiy like

notifyContainer.notify({
message: { text: 'some text this time' }
}).show();

there appears still the old one with the old html text, options like closable: false.

i think there should be a way to clear this. i tried it by reset each option manually but that is not the best way i guess ;-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions