Only trigger tooltip on hover

Not on focus
master
Daniel Berteaud 10 years ago
parent 222f77d5ff
commit e94b6cd955
  1. 2
      public/js/vroom.js

@ -8,7 +8,7 @@ Daniel Berteaud <daniel@firewall-services.com>
// Default notifications // Default notifications
$.notify.defaults( { globalPosition: 'bottom left' } ); $.notify.defaults( { globalPosition: 'bottom left' } );
// Enable tooltip on required elements // Enable tooltip on required elements
$('.help').tooltip({container: 'body'}); $('.help').tooltip({container: 'body', trigger: 'hover'});
$('.modal').on('show.bs.modal', function(){ $('.modal').on('show.bs.modal', function(){
$('.help').tooltip('hide'); $('.help').tooltip('hide');
}); });

Loading…
Cancel
Save