Firefox click issue.
-
Hello there I’ve encountered a bug with firefox. The mousedown events stop the propagation and the ad link doesn’t open.
I’ve fixed this by changing line 202-> 207 of cm-ad-changer-server-pro07aug2014/classes/ac_client.php from:jQuery(".' . 'acc_banner_link' . $demonstration_id . '").bind("mousedown",function(){ jQuery.ajax({url: "' . get_bloginfo('wpurl') . '/wp-admin/admin-ajax.php?action=acc_trigger_click_event", type: "post", async: false, data: {campaign_id: ' . $campaign_id . ', banner_id: jQuery(this).attr("banner_id")}}); })
to:
jQuery(".' . 'acc_banner_link' . $demonstration_id . '").on("click", function(){ jQuery.ajax({url: "' . get_bloginfo('wpurl') . '/wp-admin/admin-ajax.php?action=acc_trigger_click_event", type: "post", async: false, data: {campaign_id: ' . $campaign_id . ', banner_id: jQuery(this).attr("banner_id")}}); });
I hope this helps someone. To the plugin dev’s I can submit a bug request and post the patch if you need it.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Firefox click issue.’ is closed to new replies.