public function addTooltipScripts() {
		if ( ! is_admin() ) {
			$assets = new Assets( 'pressbooks', 'plugin' );
			wp_enqueue_script( 'glossary-tooltip', $assets->getPath( 'scripts/glossary-tooltip.js' ), false, null, true );
			wp_enqueue_style( 'glossary-tooltip', $assets->getPath( 'styles/glossary-tooltip.css' ), false, null );
		}
	}
public function addTooltipScripts() {
		if ( ! is_admin() ) {
			$assets = new Assets( 'pressbooks', 'plugin' );
			wp_enqueue_script( 'glossary-tooltip', $assets->getPath( 'scripts/glossary-tooltip.js' ), false, null, true );
			wp_enqueue_style( 'glossary-tooltip', $assets->getPath( 'styles/glossary-tooltip.css' ), false, null );
		}
	}
public function addTooltipScripts ( ) { if ( ! is_admin ( ) ) { $ assets = new Assets ( 'pressbooks' , 'plugin' ) ; wp_enqueue_script ( 'glossary-tooltip' , $ assets -> getPath ( 'scripts/glossary-tooltip.js' ) , false , null , true ) ; wp_enqueue_style ( 'glossary-tooltip' , $ assets -> getPath ( 'styles/glossary-tooltip.css' ) , false , null ) ; } }
Add JavaScript for the tooltip

@since 5.5.0
Add JavaScript for the tooltip