I have a div that has hover:
div
.div { // css } .div:hover { // css }
But I want to disable the hover when you click on the
All you need is this:
$('[your selector]').css({'pointer-events': 'none'})