fix hiding tooltip on mobile devices

This commit is contained in:
Silver Kuusik 2018-08-19 17:49:43 +02:00
parent 5958c1d298
commit e473f47ea4

View File

@ -227,5 +227,7 @@ window.addEventListener('load', function() {
sumorobot = new Sumorobot(`ws://${ROBOT_SERVER}`, robotId); sumorobot = new Sumorobot(`ws://${ROBOT_SERVER}`, robotId);
// Hide the configuration panel // Hide the configuration panel
$('#panel').hide(); $('#panel').hide();
// Hide the tooltip, necessary on mobile devices
$('[data-toggle="tooltip"]').tooltip('hide');
}); });
}); });