function initTooltip(placement) {
  $(document).ready(function() {
    $('[data-title]').tooltip({
      trigger: 'hover',
      placement,
      animation: false
    });
  });

  $('.selectpicker').on('loaded.bs.select', function(e) {
    const btn = $(e.target).next('button');
    if (btn.length) {
      $(btn).tooltip({
        trigger: 'hover',
        placement
      });
      $(btn).attr('data-original-title', $(e.target).data('tooltip-title'))
    }
  });
}
/**
 * init application tooltips
 * @param {String} placement tooltip placement
 */
init application tooltips
@param {String} placement tooltip placement
init application tooltips @param { String } placement tooltip placement
function initTooltip(placement) {
  $(document).ready(function() {
    $('[data-title]').tooltip({
      trigger: 'hover',
      placement,
      animation: false
    });
  });
  $('.selectpicker').on('loaded.bs.select', function(e) {
    const btn = $(e.target).next('button');
    if (btn.length) {
      $(btn).tooltip({
        trigger: 'hover',
        placement
      });
      $(btn).attr('data-original-title', $(e.target).data('tooltip-title'))
    }
  });
}
function initTooltip ( placement ) { $ ( document ) . ready ( function ( ) { $ ( '[data-title]' ) . tooltip ( { trigger : 'hover' , placement , animation : false } ) ; } ) ; $ ( '.selectpicker' ) . on ( 'loaded.bs.select' , function ( e ) { const btn = $ ( e . target ) . next ( 'button' ) ; if ( btn . length ) { $ ( btn ) . tooltip ( { trigger : 'hover' , placement } ) ; $ ( btn ) . attr ( 'data-original-title' , $ ( e . target ) . data ( 'tooltip-title' ) ) } } ) ; }
init application tooltips
 @param {String} placement tooltip placement
init application tooltips @param { String } placement tooltip placement