diff --git a/airtime_mvc/public/js/contextmenu/jquery.contextMenu.js b/airtime_mvc/public/js/contextmenu/jquery.contextMenu.js index 92153b0ca..ddc699160 100755 --- a/airtime_mvc/public/js/contextmenu/jquery.contextMenu.js +++ b/airtime_mvc/public/js/contextmenu/jquery.contextMenu.js @@ -306,6 +306,13 @@ var // currently active contextMenu trigger e.stopImmediatePropagation(); $this.remove(); root.$menu.trigger('contextmenu:hide'); + /* (Airtime) added this to allow user to exit out of menu + * if ignoreThisClick remains false, every right click + * thereafter continues to show the menu + */ + if (e.button == 2) { + ignoreThisClick = true; + } }, // key handled :hover keyStop: function(e, opt) {