Skip to content

contextMenu v3 should keep a reference to the original jQuery object #686

Open

Description

@skerit

As soon as a new jQuery version is loaded on the website contextMenu breaks because it uses the global $ as a reference to jQuery.

Loading multiple jQuery versions is obviously something that won't (and shouldn't) happen that often, but it can easily be remedied, by creating a new scoped $ variable inside contextMenu's module:

var $ = window.$;

Activity

  1. changed the title [-]contextMenu v3 doesn't work with elements added to the dom after calling `$.contextMenu()`[/-] [+]contextMenu v3 should keep a reference to the original jQuery object[/+] on Apr 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions