medialize/jQuery-contextMenu — pull request #38 by drigato-sf (2012-04-20 16:59:28+00:00)
Title: This patch is to fix the behavior of the context menu on a left-click tr...

...igger with ignoreRightClick set to true. Without this patch all subsequent right-clicks, after an initial left-click, will continue to show the context menu. What we expect is for any subsequent right-clicks to hide the menu. To achieve this we need to set ignoreThisClick to true on a right-click if ignoreRightClick is true.