Skip to content

Commit

Permalink
stateengine plugin: small webif improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
onkelandy committed Oct 20, 2023
1 parent 0450d33 commit 6c5d09e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stateengine/webif/templates/visu.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
const toolTip = document.getElementById('toolTip');

toolTip.addEventListener('click', function() {
if ($('#visu_object').hasClass("enable_tooltip")) {
if ($('#visu_object').hasClass("enable_tooltip") || !toolTip.checked) {
$('#visu_object').removeClass("enable_tooltip");
}
else {
Expand Down

0 comments on commit 6c5d09e

Please sign in to comment.