Skip to content

Event handler keyup fails when selected element is null #295

Closed
@Chris7

Description

@Chris7

In line 613 of jquery.contextMenu.js,

if (typeof opt.$selected !== 'undefined') {
   opt.$selected.trigger(e);
}

If opt.$selected is null, this will fail and stop propagation. It should compare against null as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions