src/core.js
function apiCloseTip(element, immediate) {
		var displayController;

		// set immediate to true when no element is specified
		immediate = element ? immediate : true;

		// find the relevant display controller
		if (element) {
			displayController = $(element).first().data(DATA_DISPLAYCONTROLLER);
		} else if (session.activeHover) {
			displayController = session.activeHover.data(DATA_DISPLAYCONTROLLER);
		}

		// if found, hide the tip
		if (displayController) {
			displayController.hide(immediate);
		}

		return element;
	}
function apiCloseTip(element, immediate) {
		var displayController;

		// set immediate to true when no element is specified
		immediate = element ? immediate : true;

		// find the relevant display controller
		if (element) {
			displayController = $(element).first().data(DATA_DISPLAYCONTROLLER);
		} else if (session.activeHover) {
			displayController = session.activeHover.data(DATA_DISPLAYCONTROLLER);
		}

		// if found, hide the tip
		if (displayController) {
			displayController.hide(immediate);
		}

		return element;
	}
function apiCloseTip ( element , immediate ) { var displayController ; // set immediate to true when no element is specified immediate = element ? immediate : true ; // find the relevant display controller if ( element ) { displayController = $ ( element ) . first ( ) . data ( DATA_DISPLAYCONTROLLER ) ; } else if ( session . activeHover ) { displayController = session . activeHover . data ( DATA_DISPLAYCONTROLLER ) ; } // if found, hide the tip if ( displayController ) { displayController . hide ( immediate ) ; } return element ; }
Attempts to close any open tooltips.
@param {(jQuery|Element)=} element The element with the tooltip that
should be closed (optional).
@param {boolean=} immediate Disable close delay (optional).
@return {jQuery|Element|undefined} The original jQuery object or DOM
Element, if one was specified.
Attempts to close any open tooltips .