public/dashboard/bower_components/jQuery-contextMenu/src/jquery.contextMenu.js
function(e) {
            // show menu
            var $this = $(this);
            if ($this.data('contextMenuActive') && $currentTrigger && $currentTrigger.length && $currentTrigger.is($this) && !$this.hasClass('context-menu-disabled')) {
                e.preventDefault();
                e.stopImmediatePropagation();
                $currentTrigger = $this;
                $this.trigger($.Event("contextmenu", { data: e.data, pageX: e.pageX, pageY: e.pageY }));
            }
            
            $this.removeData('contextMenuActive');
        }
function(e) {
            // show menu
            var $this = $(this);
            if ($this.data('contextMenuActive') && $currentTrigger && $currentTrigger.length && $currentTrigger.is($this) && !$this.hasClass('context-menu-disabled')) {
                e.preventDefault();
                e.stopImmediatePropagation();
                $currentTrigger = $this;
                $this.trigger($.Event("contextmenu", { data: e.data, pageX: e.pageX, pageY: e.pageY }));
            }
            
            $this.removeData('contextMenuActive');
        }
function ( e ) { // show menu var $this = $ ( this ) ; if ( $this . data ( 'contextMenuActive' ) && $currentTrigger && $currentTrigger . length && $currentTrigger . is ( $this ) && ! $this . hasClass ( 'context-menu-disabled' ) ) { e . preventDefault ( ) ; e . stopImmediatePropagation ( ) ; $currentTrigger = $this ; $this . trigger ( $ . Event ( "contextmenu" , { data : e . data , pageX : e . pageX , pageY : e . pageY } ) ) ; } $this . removeData ( 'contextMenuActive' ) ; }
contextMenu right-click trigger
contextMenu right - click trigger