Skip to content

Commit

Permalink
Add timeout to all tooltips in kiosk page.
Browse files Browse the repository at this point in the history
  • Loading branch information
r-xyz committed Sep 6, 2024
1 parent 3b247c6 commit fa9c56c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion NEMO/apps/kiosk/templates/kiosk/kiosk.html
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,13 @@ <h1 style="color:lightgrey" id="badge_number"></h1>
$(item).data('keyboard').close(false);
})
}

{# Auto hide tooltips on kiosk page after 30 seconds #}
$(document).on('shown.bs.tooltip', function () {
var tooltip = $('.tooltip');
setTimeout(function () {
tooltip.hide();
}, 30000);
});
</script>
</body>
</html>

0 comments on commit fa9c56c

Please sign in to comment.