From e473f47ea4ff708d853aeccc38d7989f5eac2181 Mon Sep 17 00:00:00 2001 From: Silver Kuusik Date: Sun, 19 Aug 2018 17:49:43 +0200 Subject: [PATCH] fix hiding tooltip on mobile devices --- assets/js/main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/assets/js/main.js b/assets/js/main.js index 647697f..9d5ebc8 100644 --- a/assets/js/main.js +++ b/assets/js/main.js @@ -227,5 +227,7 @@ window.addEventListener('load', function() { sumorobot = new Sumorobot(`ws://${ROBOT_SERVER}`, robotId); // Hide the configuration panel $('#panel').hide(); + // Hide the tooltip, necessary on mobile devices + $('[data-toggle="tooltip"]').tooltip('hide'); }); });