In WPDM front.js file I replaced:
$(‘body’).on(‘click’, ‘.wpdm-download-locked.pop-over’, function () {
with:
$(‘.wpdm-download-locked.pop-over’).click(function(){
this solved completely the problem. But I’m not sure why I had to do that. I would like to understand it better so that I avoid causing bigger problems.
Both CSS and JS are in the <head> of the site (not in the footer), could that be the problem?