Skip to content

Pressing escape when escapeKey is bound to a disabled button closes the dialog #584

@jjbutera

Description

@jjbutera

jquery-confirm version:
v3.3.2

I'm submitting a ... (check one with "x")
[X ] bug report
[ ] feature request
[ ] support request

Current behavior:
When escapeKey is bound to a button, pressing escape closes the dialog when the button is disabled

Expected behavior:
The escape key should do nothing if the button to which it's bound is disabled.

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