LlawmotorsportsJan 10, 2017
Hello,
I want the cookie modal to open on mouseleave.
I have this which is close, but it's not working properly:
shown = false;
$(document).mouseleave(function () {
if (!shown) {
$('#myModal1').modal();
shown = true;
}
});
Do you have another way of achieving this?
