Skip to content

Possibly unhandled rejection: backdrop click #86

Open
@hosein

Description

@hosein

I receive this error when clicking on the backdrop, and a similar one when clicking on the X to close.

To fix this, change:
Lightbox.modalInstance.result['finally'](function () {

To this:
Lightbox.modalInstance.result.then(function(){},function(res){}).finally(function () {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions