Ok so the browser, debug is showing this error:
unreachable code after return statement
which refers to this line:
$('#ja-imagesmap114 a.point').each(function() {
var data = desc[$(this).attr('id').replace('ja-marker-','')];
var _e = $(this).find('.bg');
// around here little messy. we should clean up a bit in future
// this only work on mobile + popup type = window + type = website.
if ('window' == 'window'
&& is_mobile_device()
&& data.content_url
&& data.content_type == 'website'
) {
_e.click(function(event) {
window.open($(this).parent().data('content_url'), '_blank');
return false;
event.preventDefault();
return false;
});
} else // normal function.
OverAllData(_e, data, jaihp_settings);
The specific line being:
event.preventDefault();
Please help!