| Current Path : /home/x/b/o/xbodynamge/namtation/wp-content/ |
| Current File : /home/x/b/o/xbodynamge/namtation/wp-content/public.js.tar |
crosstraining/wp-content/plugins/themeisle-companion/obfx_modules/social-sharing/js/public.js 0000604 00000001300 15114234520 0031762 0 ustar 00 home/xbodynamge /**
* Social Sharing Module Public Script
*
* @since 1.0.0
* @package obfx_modules/social-sharing/js
*
* @author ThemeIsle
*/
var obfx_sharing_module = function( $ ) {
'use strict';
$(
function() {
$( '.obfx-sharing a, .obfx-sharing-inline a' ).not( '.whatsapp, .mail, .viber' ).on(
'click', function(e) {
e.preventDefault();
var link = $( this ).attr( 'href' );
window.open( link, 'obfxShareWindow', 'height=450, width=550, top=' + ( $( window ).height() / 2 - 275 ) + ', left=' + ( $( window ).width() / 2 - 225 ) + ', toolbar=0, location=0, menubar=0, directories=0, scrollbars=0' );
return true;
}
);
}
);
};
obfx_sharing_module( jQuery );
home/xbodynamge/dev/wp-content/plugins/themeisle-companion/obfx_modules/social-sharing/js/public.js 0000644 00000001300 15115622622 0027743 0 ustar 00 /**
* Social Sharing Module Public Script
*
* @since 1.0.0
* @package obfx_modules/social-sharing/js
*
* @author ThemeIsle
*/
var obfx_sharing_module = function( $ ) {
'use strict';
$(
function() {
$( '.obfx-sharing a, .obfx-sharing-inline a' ).not( '.whatsapp, .mail, .viber' ).on(
'click', function(e) {
e.preventDefault();
var link = $( this ).attr( 'href' );
window.open( link, 'obfxShareWindow', 'height=450, width=550, top=' + ( $( window ).height() / 2 - 275 ) + ', left=' + ( $( window ).width() / 2 - 225 ) + ', toolbar=0, location=0, menubar=0, directories=0, scrollbars=0' );
return true;
}
);
}
);
};
obfx_sharing_module( jQuery );