Skip to content Skip to sidebar Skip to footer

How Can I Enable Right Click In Jquery?

So I got this jquery min javascript file and it is blocking the right-click feature in my page. I've got no idea where to re-enable the right click feature, I've searched the whole

Solution 1:

The problem could not be jQuery, because jQuery does not do any such thing.

You should have another block of code somewhere which might be preventing the default action of the contextmenu event like below, remove that and you should be fine

$(document).on('contextmenu',function (e) {
    e.preventDefault();
})

Post a Comment for "How Can I Enable Right Click In Jquery?"