jQuery-contextMenu icon indicating copy to clipboard operation
jQuery-contextMenu copied to clipboard

contextMenu v3 should keep a reference to the original jQuery object

Open skerit opened this issue 5 years ago • 0 comments

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.$;

skerit avatar Apr 09 '19 14:04 skerit