In case anyone else sees the same issue…
I resolved the issue by adding some JS via a custom plugin. This was in the plugin php file:
function detwit_essb_enqueue_scripts() {
wp_enqueue_script( 'detwit-js', plugins_url( '/detwit-essb.js', __FILE__ ), $deps = array( 'easy_social_share_buttons-script' ), $ver = false, $in_footer = true );
}
add_action( 'wp_enqueue_scripts', 'detwit_essb_enqueue_scripts' );
So that loads a js file and in the js file was this:
jQuery(document).ready( function () {
jQuery('a.ess-button--twitter').removeAttr('onclick');
} );
Just linking to the Twitter link is enough to generate the pop-up. The added ‘on-click’ was creating a duplicate window.
-
This reply was modified 7 years, 6 months ago by jpen365.