1
0
mirror of https://github.com/dani/vroom.git synced 2024-06-28 01:39:29 +02:00

Only trigger tooltip on hover

Not on focus
This commit is contained in:
Daniel Berteaud 2015-01-22 22:20:08 +01:00
parent 222f77d5ff
commit e94b6cd955

View File

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