jQuery-contextMenu
jQuery-contextMenu copied to clipboard
contextMenu v3 should keep a reference to the original jQuery object
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.$;