Description
To support RTL, I manually merged from a version I found here:
http://github.layalk.net/jQuery-contextMenu/demo/demo-rtl.html
Not sure where the above was forked from and at what point, but after merging it, both LTR and RTL seem to work well. RTL is supported using the rtl:true flag in the options and by using jquery.contextMenu.scss instead of jquery.contextMenu-rtl.scss
The other addition is support for click instead of hover to open a sub-menu. This is supported using setting click4sub:true in the options. The modifications are minor and are as elegant as I could make considering my lack of knowledge of the code... :-)
The reason click to open submenus was added is to make it easier to make the context menu be functional on mobile devices too, where hover does not exist.
The pull request is here:
#445