installed plugin Easy Digital Downloads version 3.1.0.3

This commit is contained in:
2022-11-27 15:03:07 +00:00
committed by Gitium
parent 555673545b
commit c5dce2cec6
1200 changed files with 238970 additions and 0 deletions

View File

@ -0,0 +1,28 @@
/**
* Attach tooltips
*
* @param {string} selector
*/
export const edd_attach_tooltips = function( selector ) {
selector.tooltip( {
content: function() {
return $( this ).prop( 'title' );
},
tooltipClass: 'edd-ui-tooltip',
position: {
my: 'center top',
at: 'center bottom+10',
collision: 'flipfit',
},
hide: {
duration: 200,
},
show: {
duration: 200,
},
} );
};
jQuery( document ).ready( function( $ ) {
edd_attach_tooltips( $( '.edd-help-tip' ) );
} );