Open jasondavis opened 8 years ago
You may try this vertion. https://github.com/AstRonin/bootstrap-contextmenu/blob/master/bootstrap-contextmenu.js I merged previous PRs for self and maybe it can help you.
I was running into the same issue and after much digging around, turns out it was my own fault. I was including a page fragment which was missing the target object (html).
$('#main').contextmenu({ target: '#context-menu', ... });
Make sure that the html node with id #context-menu is on the page.
I would really like to use this library but when installed all I get is this error in the console...
Here is an example of one of the items the context menu should be attached to...
using...
Any ideas for a fix?
Image of the code causing error...